feat(install): pipelines update re-runs the recorded install from the source checkout; --fresh skips Docker migration
This commit is contained in:
@@ -236,6 +236,11 @@ class SetupNativeTests(unittest.TestCase):
|
||||
web = installer.configure_web(prefix, setup_native.arguments([]))
|
||||
self.assertEqual(json.loads(Path(web["auth_file"]).read_text())["password"], "typed-password")
|
||||
|
||||
def test_fresh_install_skips_docker_migration(self):
|
||||
args = setup_native.arguments(["--fresh"])
|
||||
self.assertTrue(args.fresh)
|
||||
self.assertFalse(setup_native.arguments([]).fresh)
|
||||
|
||||
def test_invalid_web_auth_is_retained(self):
|
||||
with tempfile.TemporaryDirectory() as directory:
|
||||
installer = self.installer(directory, Recorder())
|
||||
|
||||
Reference in New Issue
Block a user