From 68b19ebe555048ddec3bb262c96d1cb41925da91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Sun, 3 Nov 2013 22:44:16 +0100 Subject: [PATCH] Fixed test after log format change --- test_elasticsearch/rest-api-spec | 2 +- test_elasticsearch/test_connection.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test_elasticsearch/rest-api-spec b/test_elasticsearch/rest-api-spec index 11624fb0..a91d91ce 160000 --- a/test_elasticsearch/rest-api-spec +++ b/test_elasticsearch/rest-api-spec @@ -1 +1 @@ -Subproject commit 11624fb007a886ebcb8eb18c8d49be4d7be32821 +Subproject commit a91d91ce603c479141bec8da9f88f13b7e843337 diff --git a/test_elasticsearch/test_connection.py b/test_elasticsearch/test_connection.py index 5b483107..7c55f07c 100644 --- a/test_elasticsearch/test_connection.py +++ b/test_elasticsearch/test_connection.py @@ -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:] ))