mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 14:43:03 +00:00
fix: https test
This commit is contained in:
parent
7b5ec22e0c
commit
0c1d4ebf51
@ -94,7 +94,7 @@ class EnvTests(unittest.TestCase):
|
|||||||
with patch.object(fmt, "STDOUT"):
|
with patch.object(fmt, "STDOUT"):
|
||||||
env.save(root, config)
|
env.save(root, config)
|
||||||
with open(os.path.join(root, "env", "apps", "caddy", "Caddyfile")) as f:
|
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:
|
def test_patch(self) -> None:
|
||||||
patches = {"plugin1": "abcd", "plugin2": "efgh"}
|
patches = {"plugin1": "abcd", "plugin2": "efgh"}
|
||||||
|
Loading…
Reference in New Issue
Block a user