summary refs log tree commit diff
path: root/tests/rest/client/v1/utils.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-01-09 18:25:13 +0000
committerErik Johnston <erik@matrix.org>2017-01-09 18:25:13 +0000
commit6823fe52410db3b95df720b7955ad7b617dc7dee (patch)
tree0c019d9d693b09bb10ecb6e29616e5edf00893a9 /tests/rest/client/v1/utils.py
parentMerge branch 'master' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-6823fe52410db3b95df720b7955ad7b617dc7dee.tar.xz
Linearize updates to membership via PUT /state/
Diffstat (limited to 'tests/rest/client/v1/utils.py')
-rw-r--r--tests/rest/client/v1/utils.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/rest/client/v1/utils.py b/tests/rest/client/v1/utils.py
index 17524b2e23..3bb1dd003a 100644
--- a/tests/rest/client/v1/utils.py
+++ b/tests/rest/client/v1/utils.py
@@ -87,7 +87,10 @@ class RestTestCase(unittest.TestCase):
         (code, response) = yield self.mock_resource.trigger(
             "PUT", path, json.dumps(data)
         )
-        self.assertEquals(expect_code, code, msg=str(response))
+        self.assertEquals(
+            expect_code, code,
+            msg="Expected: %d, got: %d, resp: %r" % (expect_code, code, response)
+        )
 
         self.auth_user_id = temp_id