Fixed test after log format change

This commit is contained in:
Honza Král
2013-11-03 22:44:16 +01:00
parent b8b9f67092
commit 68b19ebe55
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ class TestRequestsConnection(TestCase):
# trace response
self.assertEquals(1, tracer.debug.call_count)
self.assertTrue(re.match(
'# \[200\] \(0.[0-9]{3}s\)\n#\{\n# "answer": 42\n#\}',
'#\[200\] \(0.[0-9]{3}s\)\n#\{\n# "answer": 42\n#\}',
tracer.debug.call_args[0][0] % tracer.debug.call_args[0][1:]
))