summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-11-04 17:13:21 +0000
committerErik Johnston <erik@matrix.org>2014-11-04 17:13:21 +0000
commit4a5e95511e31aa1836259e94d501a9cfe359d466 (patch)
tree1d92fe9302ff623a167e2238893dce3ca167f959
parentFix room handler tests (diff)
downloadsynapse-4a5e95511e31aa1836259e94d501a9cfe359d466.tar.xz
PEP8
-rw-r--r--tests/handlers/test_room.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/handlers/test_room.py b/tests/handlers/test_room.py
index 57a8a1b13d..f0b77a2496 100644
--- a/tests/handlers/test_room.py
+++ b/tests/handlers/test_room.py
@@ -171,7 +171,6 @@ class RoomMemberHandlerTestCase(unittest.TestCase):
 
         self.datastore.get_joined_hosts_for_room.side_effect = get_joined
 
-
         store_id = "store_id_fooo"
         self.datastore.persist_event.return_value = defer.succeed(store_id)
         self.datastore.get_room.return_value = defer.succeed(1)  # Not None.
@@ -203,10 +202,12 @@ class RoomMemberHandlerTestCase(unittest.TestCase):
             event
         )
         self.notifier.on_new_room_event.assert_called_once_with(
-                event, extra_users=[user])
+            event, extra_users=[user]
+        )
 
         join_signal_observer.assert_called_with(
-                user=user, room_id=room_id)
+            user=user, room_id=room_id
+        )
 
 
 class RoomCreationTest(unittest.TestCase):
@@ -217,7 +218,6 @@ class RoomCreationTest(unittest.TestCase):
         self.mock_config = NonCallableMock()
         self.mock_config.signing_key = [MockKey()]
 
-
         hs = HomeServer(
             self.hostname,
             db_pool=None,