Tests: style.
This commit is contained in:
@@ -188,10 +188,7 @@ class TestPythonApplication(TestApplicationPython):
|
|||||||
self.assertEqual(resp['body'], body, 'keep-alive open')
|
self.assertEqual(resp['body'], body, 'keep-alive open')
|
||||||
self.assertIn(
|
self.assertIn(
|
||||||
'success',
|
'success',
|
||||||
self.conf(
|
self.conf(str(i + 1), 'applications/mirror/processes'),
|
||||||
str(i + 1),
|
|
||||||
'applications/mirror/processes',
|
|
||||||
),
|
|
||||||
'reconfigure',
|
'reconfigure',
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -212,10 +209,7 @@ class TestPythonApplication(TestApplicationPython):
|
|||||||
self.assertEqual(resp['body'], body, 'keep-alive request')
|
self.assertEqual(resp['body'], body, 'keep-alive request')
|
||||||
self.assertIn(
|
self.assertIn(
|
||||||
'success',
|
'success',
|
||||||
self.conf(
|
self.conf(str(i + 1), 'applications/mirror/processes'),
|
||||||
str(i + 1),
|
|
||||||
'applications/mirror/processes',
|
|
||||||
),
|
|
||||||
'reconfigure 2',
|
'reconfigure 2',
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -233,10 +227,7 @@ class TestPythonApplication(TestApplicationPython):
|
|||||||
self.assertEqual(resp['body'], body, 'keep-alive close')
|
self.assertEqual(resp['body'], body, 'keep-alive close')
|
||||||
self.assertIn(
|
self.assertIn(
|
||||||
'success',
|
'success',
|
||||||
self.conf(
|
self.conf(str(i + 1), 'applications/mirror/processes'),
|
||||||
str(i + 1),
|
|
||||||
'applications/mirror/processes',
|
|
||||||
),
|
|
||||||
'reconfigure 3',
|
'reconfigure 3',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user