fix tests on py2
This commit is contained in:
parent
a41ff4c471
commit
e93ffa3a6c
1 changed files with 1 additions and 3 deletions
|
@ -353,8 +353,6 @@ class MainTestCase(utils.TestCase):
|
|||
self.assertEquals(actual, expected)
|
||||
|
||||
log_output = u("\n").join([u(' ').join(x) for x in logs.actual()])
|
||||
expected = "u'response_code': 400"
|
||||
if is_py3:
|
||||
expected = "'response_code': 400"
|
||||
self.assertIn(expected, log_output)
|
||||
|
||||
|
|
Loading…
Reference in a new issue