summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-04-09 16:14:42 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-04-09 16:14:42 +0300
commit8c7411415a0ff8dcfd9bd8fa2d440046afd140af (patch)
treef50e3a24487924f7bbbd00a618399c861aceba57
parentaf24e4dec453af7e3dcb45347cb59bfcbc037843 (diff)
downloadunit-8c7411415a0ff8dcfd9bd8fa2d440046afd140af.tar.gz
unit-8c7411415a0ff8dcfd9bd8fa2d440046afd140af.tar.bz2
Tests: style.
-rw-r--r--test/test_python_application.py15
1 files changed, 3 insertions, 12 deletions
diff --git a/test/test_python_application.py b/test/test_python_application.py
index 7f435509..0b153d77 100644
--- a/test/test_python_application.py
+++ b/test/test_python_application.py
@@ -188,10 +188,7 @@ class TestPythonApplication(TestApplicationPython):
self.assertEqual(resp['body'], body, 'keep-alive open')
self.assertIn(
'success',
- self.conf(
- str(i + 1),
- 'applications/mirror/processes',
- ),
+ self.conf(str(i + 1), 'applications/mirror/processes'),
'reconfigure',
)
@@ -212,10 +209,7 @@ class TestPythonApplication(TestApplicationPython):
self.assertEqual(resp['body'], body, 'keep-alive request')
self.assertIn(
'success',
- self.conf(
- str(i + 1),
- 'applications/mirror/processes',
- ),
+ self.conf(str(i + 1), 'applications/mirror/processes'),
'reconfigure 2',
)
@@ -233,10 +227,7 @@ class TestPythonApplication(TestApplicationPython):
self.assertEqual(resp['body'], body, 'keep-alive close')
self.assertIn(
'success',
- self.conf(
- str(i + 1),
- 'applications/mirror/processes',
- ),
+ self.conf(str(i + 1), 'applications/mirror/processes'),
'reconfigure 3',
)