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