diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2018-09-06 20:18:33 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2018-09-06 20:18:33 +0300 |
commit | 511a0fa7605e61f90e524edfbcbefa230573e32f (patch) | |
tree | 011538ece353c804605a05452daa344e8be2d2fd /test/test_python_application.py | |
parent | 58d23eb5b4cc15a11fa4550dc165b6be4797525a (diff) | |
download | unit-511a0fa7605e61f90e524edfbcbefa230573e32f.tar.gz unit-511a0fa7605e61f90e524edfbcbefa230573e32f.tar.bz2 |
Tests: used relative path for configuration.
Diffstat (limited to 'test/test_python_application.py')
-rw-r--r-- | test/test_python_application.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_python_application.py b/test/test_python_application.py index 59857d75..146223ec 100644 --- a/test/test_python_application.py +++ b/test/test_python_application.py @@ -131,7 +131,7 @@ class TestUnitPythonApplication(unit.TestUnitApplicationPython): self.assertIn('success', self.conf({ "spare": i % 4, "max": (i % 4) + 1 - }, '/applications/mirror/processes'), 'reconfigure') + }, 'applications/mirror/processes'), 'reconfigure') socks.append(sock) @@ -146,7 +146,7 @@ class TestUnitPythonApplication(unit.TestUnitApplicationPython): self.assertIn('success', self.conf({ "spare": i % 4, "max": (i % 4) + 1 - }, '/applications/mirror/processes'), 'reconfigure 2') + }, 'applications/mirror/processes'), 'reconfigure 2') for i in range(conns): resp = self.post(headers={ @@ -159,7 +159,7 @@ class TestUnitPythonApplication(unit.TestUnitApplicationPython): self.assertIn('success', self.conf({ "spare": i % 4, "max": (i % 4) + 1 - }, '/applications/mirror/processes'), 'reconfigure 3') + }, 'applications/mirror/processes'), 'reconfigure 3') def test_python_keepalive_reconfigure_2(self): self.skip_alerts.append(r'sendmsg.+failed') |