7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-01 05:40:48 +00:00

fix: https test

This commit is contained in:
Régis Behmo 2021-11-09 11:42:39 +01:00 committed by Régis Behmo
parent 7b5ec22e0c
commit 0c1d4ebf51

View File

@ -94,7 +94,7 @@ class EnvTests(unittest.TestCase):
with patch.object(fmt, "STDOUT"):
env.save(root, config)
with open(os.path.join(root, "env", "apps", "caddy", "Caddyfile")) as f:
self.assertIn("www.myopenedx.com {", f.read())
self.assertIn("www.myopenedx.com{$default_site_port}", f.read())
def test_patch(self) -> None:
patches = {"plugin1": "abcd", "plugin2": "efgh"}