summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2020-06-15 13:42:44 -0400
committerGitHub <noreply@github.com>2020-06-15 13:42:44 -0400
commit2b2344652b215b8023fb37deeacbb395f3c68d7c (patch)
tree1a854996e701b379fde25e23e8a07460fb1dcc6e /tests/handlers
parentUpdate m.id.phone to use 'phone' instead of 'number' (#7687) (diff)
downloadsynapse-2b2344652b215b8023fb37deeacbb395f3c68d7c.tar.xz
Ensure etag is a string for GET room_keys/version response (#7691)
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_e2e_room_keys.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/handlers/test_e2e_room_keys.py b/tests/handlers/test_e2e_room_keys.py
index 70f172eb02..822ea42dde 100644
--- a/tests/handlers/test_e2e_room_keys.py
+++ b/tests/handlers/test_e2e_room_keys.py
@@ -96,6 +96,7 @@ class E2eRoomKeysHandlerTestCase(unittest.TestCase):
         # check we can retrieve it as the current version
         res = yield self.handler.get_version_info(self.local_user)
         version_etag = res["etag"]
+        self.assertIsInstance(version_etag, str)
         del res["etag"]
         self.assertDictEqual(
             res,