summary refs log tree commit diff
path: root/tests/handlers/test_room.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-01-16 18:59:04 +0000
committerMark Haines <mark.haines@matrix.org>2015-01-16 19:01:03 +0000
commit5fed04264056263e10b920a917a3a40f88e7e820 (patch)
tree4c5eb1c463ea424824fc0b07b4eb4de7a2a4c26d /tests/handlers/test_room.py
parentFold _do_request_for_transaction into the methods that called it since it was... (diff)
downloadsynapse-5fed04264056263e10b920a917a3a40f88e7e820.tar.xz
Finish renaming "context" to "room_id" in federation codebase
Diffstat (limited to '')
-rw-r--r--tests/handlers/test_room.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/handlers/test_room.py b/tests/handlers/test_room.py
index 0cb8aa4fbc..d3253b48b8 100644
--- a/tests/handlers/test_room.py
+++ b/tests/handlers/test_room.py
@@ -223,7 +223,7 @@ class RoomMemberHandlerTestCase(unittest.TestCase):
         yield room_handler.change_membership(event, context)
 
         self.federation.handle_new_event.assert_called_once_with(
-            event, None, destinations=set()
+            event, destinations=set()
         )
 
         self.datastore.persist_event.assert_called_once_with(
@@ -301,7 +301,7 @@ class RoomMemberHandlerTestCase(unittest.TestCase):
         yield room_handler.change_membership(event, context)
 
         self.federation.handle_new_event.assert_called_once_with(
-            event, None, destinations=set(['red'])
+            event, destinations=set(['red'])
         )
 
         self.datastore.persist_event.assert_called_once_with(