summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_application.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-09-06 20:18:33 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-09-06 20:18:33 +0300
commit511a0fa7605e61f90e524edfbcbefa230573e32f (patch)
tree011538ece353c804605a05452daa344e8be2d2fd /test/test_python_application.py
parent58d23eb5b4cc15a11fa4550dc165b6be4797525a (diff)
downloadunit-511a0fa7605e61f90e524edfbcbefa230573e32f.tar.gz
unit-511a0fa7605e61f90e524edfbcbefa230573e32f.tar.bz2
Tests: used relative path for configuration.
Diffstat (limited to '')
-rw-r--r--test/test_python_application.py6
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')