summary refs log tree commit diff
path: root/tests/test_distributor.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-08-11 17:41:29 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-08-11 17:41:29 +0100
commita23a760b3f5c9b61bc0602250725204c25d7f915 (patch)
tree0df602fafc24270679f29df1a6259818a1370430 /tests/test_distributor.py
parentAdd missing space because linter (diff)
parentRemove call to recently removed function in mock (diff)
downloadsynapse-a23a760b3f5c9b61bc0602250725204c25d7f915.tar.xz
Merge branch 'develop' into auth
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],