fix tests on py2

This commit is contained in:
Alan Hamlett 2019-05-07 18:25:39 -07:00
parent a41ff4c471
commit e93ffa3a6c

View file

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