mirror of
https://github.com/django/django.git
synced 2025-08-30 15:27:40 +00:00
Used more specific unittest assertions in tests.
This commit is contained in:
parent
7309393c3a
commit
c51bf80d56
5 changed files with 8 additions and 8 deletions
|
@ -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']),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue