Used more specific unittest assertions in tests.

This commit is contained in:
Mads Jensen 2021-04-16 23:19:25 +02:00 committed by Mariusz Felisiak
parent 7309393c3a
commit c51bf80d56
5 changed files with 8 additions and 8 deletions

View file

@ -501,7 +501,7 @@ class BackendTestCase(TransactionTestCase):
params, kwargs = mocked_logger.debug.call_args
self.assertIn('; alias=%s', params[0])
self.assertEqual(params[2], sql)
self.assertEqual(params[3], None)
self.assertIsNone(params[3])
self.assertEqual(params[4], connection.alias)
self.assertEqual(
list(kwargs['extra']),