summary refs log tree commit diff
path: root/tests/storage/test_registration.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-03-24 18:56:51 +0000
committerDavid Baker <dave@matrix.org>2015-03-24 18:56:51 +0000
commitce2766d19c985d0100cc143477100c2723be1844 (patch)
tree85aac857c951993f50f5b739baf756ec62af7da4 /tests/storage/test_registration.py
parentDon't test exact equality of the list: as long as it has the fields we expect... (diff)
downloadsynapse-ce2766d19c985d0100cc143477100c2723be1844.tar.xz
Fix tests
Diffstat (limited to 'tests/storage/test_registration.py')
-rw-r--r--tests/storage/test_registration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_registration.py b/tests/storage/test_registration.py

index 93be02f8c3..2f8953f518 100644 --- a/tests/storage/test_registration.py +++ b/tests/storage/test_registration.py
@@ -38,7 +38,7 @@ class RegistrationStoreTestCase(unittest.TestCase): @defer.inlineCallbacks def test_register(self): yield self.store.register(self.user_id, self.tokens[0], self.pwhash) - u = yield self.store.get_user_by_id(self.user_id)[0] + u = (yield self.store.get_user_by_id(self.user_id))[0] # TODO(paul): Surely this field should be 'user_id', not 'name' # Additionally surely it shouldn't come in a 1-element list