mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Replaced type-specific assertions with assertEqual().
Python docs say, "it's usually not necessary to invoke these methods directly."
This commit is contained in:
parent
e32265de1a
commit
6b4f018b2b
23 changed files with 93 additions and 102 deletions
|
@ -960,9 +960,9 @@ class OverrideSettingsTests(SimpleTestCase):
|
|||
"""
|
||||
Overriding DATABASE_ROUTERS should update the master router.
|
||||
"""
|
||||
test_routers = (object(),)
|
||||
test_routers = [object()]
|
||||
with self.settings(DATABASE_ROUTERS=test_routers):
|
||||
self.assertSequenceEqual(router.routers, test_routers)
|
||||
self.assertEqual(router.routers, test_routers)
|
||||
|
||||
def test_override_static_url(self):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue