Tests: style.

This commit is contained in:
Andrey Zelenkov 2019-04-09 16:14:42 +03:00
parent af24e4dec4
commit 8c7411415a

View file

@ -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',
)