Fixed test after log format change
This commit is contained in:
Submodule test_elasticsearch/rest-api-spec updated: 11624fb007...a91d91ce60
@@ -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:]
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user