Replaced type-specific assertions with assertEqual().

Python docs say, "it's usually not necessary to invoke these methods directly."
This commit is contained in:
Tim Graham 2017-03-17 07:51:48 -04:00 committed by GitHub
parent e32265de1a
commit 6b4f018b2b
23 changed files with 93 additions and 102 deletions

View file

@ -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):
"""