mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-11 03:39:58 -04:00
Replace assertEquals and friends with non-deprecated versions. (#12092)
This commit is contained in:
parent
ab3ef49059
commit
02d708568b
62 changed files with 888 additions and 889 deletions
|
@ -48,7 +48,7 @@ class DistributorTestCase(unittest.TestCase):
|
|||
observers[0].assert_called_once_with("Go")
|
||||
observers[1].assert_called_once_with("Go")
|
||||
|
||||
self.assertEquals(mock_logger.warning.call_count, 1)
|
||||
self.assertEqual(mock_logger.warning.call_count, 1)
|
||||
self.assertIsInstance(mock_logger.warning.call_args[0][0], str)
|
||||
|
||||
def test_signal_prereg(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue