diff options
Diffstat (limited to 'test/test_php_basic.py')
-rw-r--r-- | test/test_php_basic.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/test_php_basic.py b/test/test_php_basic.py index d579afee..02ff81de 100644 --- a/test/test_php_basic.py +++ b/test/test_php_basic.py @@ -14,7 +14,7 @@ class TestPHPBasic(TestControl): } conf_basic = { - "listeners": {"*:7080": {"application": "app"}}, + "listeners": {"*:7080": {"pass": "applications/app"}}, "applications": conf_app, } @@ -82,7 +82,7 @@ class TestPHPBasic(TestControl): self.assertEqual( self.conf_get()['listeners'], - {"*:7080": {"application": "app"}}, + {"*:7080": {"pass": "applications/app"}}, 'listeners', ) @@ -91,7 +91,7 @@ class TestPHPBasic(TestControl): self.assertEqual( self.conf_get('listeners'), - {"*:7080": {"application": "app"}}, + {"*:7080": {"pass": "applications/app"}}, 'listeners prefix', ) @@ -100,29 +100,29 @@ class TestPHPBasic(TestControl): self.assertEqual( self.conf_get('listeners/*:7080'), - {"application": "app"}, + {"pass": "applications/app"}, 'listeners prefix 2', ) def test_php_change_listener(self): self.conf(self.conf_basic) - self.conf({"*:7081": {"application": "app"}}, 'listeners') + self.conf({"*:7081": {"pass": "applications/app"}}, 'listeners') self.assertEqual( self.conf_get('listeners'), - {"*:7081": {"application": "app"}}, + {"*:7081": {"pass": "applications/app"}}, 'change listener', ) def test_php_add_listener(self): self.conf(self.conf_basic) - self.conf({"application": "app"}, 'listeners/*:7082') + self.conf({"pass": "applications/app"}, 'listeners/*:7082') self.assertEqual( self.conf_get('listeners'), { - "*:7080": {"application": "app"}, - "*:7082": {"application": "app"}, + "*:7080": {"pass": "applications/app"}, + "*:7082": {"pass": "applications/app"}, }, 'add listener', ) |