diff options
Diffstat (limited to '')
-rw-r--r-- | test/test_php_application.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/test_php_application.py b/test/test_php_application.py index c8ae8ad0..0dbc743d 100644 --- a/test/test_php_application.py +++ b/test/test_php_application.py @@ -124,7 +124,7 @@ class TestUnitPHPApplication(unit.TestUnitApplicationPHP): self.assertNotEqual(self.get()['headers']['X-Precision'], '4', 'ini value default') - self.conf({"file": "php.ini"}, '/applications/ini_precision/options') + self.conf({"file": "php.ini"}, 'applications/ini_precision/options') self.assertEqual(self.get()['headers']['X-File'], self.current_dir + '/php/ini_precision/php.ini', 'ini file') @@ -137,7 +137,7 @@ class TestUnitPHPApplication(unit.TestUnitApplicationPHP): self.assertIn('error', self.conf({ "user": { "precision": "4" }, "admin": { "precision": "5" } - }, '/applications/ini_precision/options'), 'ini admin user') + }, 'applications/ini_precision/options'), 'ini admin user') def test_php_application_ini_admin(self): self.load('ini_precision') @@ -145,7 +145,7 @@ class TestUnitPHPApplication(unit.TestUnitApplicationPHP): self.conf({ "file": "php.ini", "admin": { "precision": "5" } - }, '/applications/ini_precision/options') + }, 'applications/ini_precision/options') self.assertEqual(self.get()['headers']['X-Precision'], '5', 'ini value admin') @@ -156,7 +156,7 @@ class TestUnitPHPApplication(unit.TestUnitApplicationPHP): self.conf({ "file": "php.ini", "user": { "precision": "5" } - }, '/applications/ini_precision/options') + }, 'applications/ini_precision/options') self.assertEqual(self.get()['headers']['X-Precision'], '5', 'ini value user') @@ -164,13 +164,13 @@ class TestUnitPHPApplication(unit.TestUnitApplicationPHP): def test_php_application_ini_user_2(self): self.load('ini_precision') - self.conf({"file": "php.ini"}, '/applications/ini_precision/options') + self.conf({"file": "php.ini"}, 'applications/ini_precision/options') self.assertEqual(self.get()['headers']['X-Precision'], '4', 'ini user file') self.conf({ "precision": "5" }, - '/applications/ini_precision/options/user') + 'applications/ini_precision/options/user') self.assertEqual(self.get()['headers']['X-Precision'], '5', 'ini value user') @@ -179,7 +179,7 @@ class TestUnitPHPApplication(unit.TestUnitApplicationPHP): self.load('ini_precision') self.conf({"admin": { "precision": "5" }}, - '/applications/ini_precision/options') + 'applications/ini_precision/options') self.assertEqual(self.get(url='/?precision=6')['headers']['X-Precision'], '5', 'ini set admin') @@ -188,7 +188,7 @@ class TestUnitPHPApplication(unit.TestUnitApplicationPHP): self.load('ini_precision') self.conf({"user": { "precision": "5" }}, - '/applications/ini_precision/options') + 'applications/ini_precision/options') self.assertEqual(self.get(url='/?precision=6')['headers']['X-Precision'], '6', 'ini set user') @@ -197,7 +197,7 @@ class TestUnitPHPApplication(unit.TestUnitApplicationPHP): self.load('ini_precision') self.conf({"user": { "precision": "5" }}, - '/applications/ini_precision/options') + 'applications/ini_precision/options') self.assertEqual(self.get()['headers']['X-Precision'], '5', 'ini value') |