summary refs log tree commit diff
path: root/tests/test_distributor.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-12 10:30:30 +0100
committerErik Johnston <erik@matrix.org>2015-08-12 10:30:30 +0100
commitd7451e0f22020624463d3c5f24a2fe54ed451b59 (patch)
treec2dccc35e4cddb5d415832dbfce39f6116ea48bf /tests/test_distributor.py
parentWire up the dictionarycache to the metrics (diff)
parentMerge pull request #182 from matrix-org/manu/fix_no_rate_limit_in_federation_... (diff)
downloadsynapse-d7451e0f22020624463d3c5f24a2fe54ed451b59.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/dictionary_cache
Diffstat (limited to 'tests/test_distributor.py')
-rw-r--r--tests/test_distributor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_distributor.py b/tests/test_distributor.py
index 6a0095d850..8ed48cfb70 100644
--- a/tests/test_distributor.py
+++ b/tests/test_distributor.py
@@ -73,8 +73,8 @@ class DistributorTestCase(unittest.TestCase):
             yield d
             self.assertTrue(d.called)
 
-            observers[0].assert_called_once("Go")
-            observers[1].assert_called_once("Go")
+            observers[0].assert_called_once_with("Go")
+            observers[1].assert_called_once_with("Go")
 
             self.assertEquals(mock_logger.warning.call_count, 1)
             self.assertIsInstance(mock_logger.warning.call_args[0][0],