mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 20:22:07 +03:00
Merge pull request #218 from matrix-org/mockfix
Remove call to "recently" removed function in mock
This commit is contained in:
commit
7568fe880d
1 changed files with 2 additions and 2 deletions
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue