diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-11 17:00:17 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-11 17:00:17 +0100 |
commit | 7568fe880de77c3ba880b5e2c3369037fafcba1f (patch) | |
tree | 8ff1d726123d10845dbc3bb2e94d2220917021e5 /tests/test_distributor.py | |
parent | Use TypeError instead of ValueError and give a nicer error mesasge (diff) | |
parent | Remove call to recently removed function in mock (diff) | |
download | synapse-7568fe880de77c3ba880b5e2c3369037fafcba1f.tar.xz |
Merge pull request #218 from matrix-org/mockfix
Remove call to "recently" removed function in mock
Diffstat (limited to 'tests/test_distributor.py')
-rw-r--r-- | tests/test_distributor.py | 4 |
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], |