Browse Source

fix tests on py2

master
Alan Hamlett 4 months ago
parent
commit
e93ffa3a6c
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      tests/test_main.py

+ 1
- 3
tests/test_main.py View File

@@ -353,9 +353,7 @@ 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"
expected = "'response_code': 400"
self.assertIn(expected, log_output)

self.assertHeartbeatNotSavedOffline()

Loading…
Cancel
Save