mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +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:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user