diff options
| author | Tim Graham <timograham@gmail.com> | 2017-03-17 07:51:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-17 07:51:48 -0400 |
| commit | 6b4f018b2b3478d2a4a441ed52d43f6268ac89f3 (patch) | |
| tree | 21a1573a6d8a1e7ee8554adc318174ffda0bf8bd /tests/test_utils/tests.py | |
| parent | e32265de1a68361ea078f49877ccb0f742508728 (diff) | |
Replaced type-specific assertions with assertEqual().
Python docs say, "it's usually not necessary to invoke these methods directly."
Diffstat (limited to 'tests/test_utils/tests.py')
| -rw-r--r-- | tests/test_utils/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_utils/tests.py b/tests/test_utils/tests.py index c37928bcaa..6d6e1e5328 100644 --- a/tests/test_utils/tests.py +++ b/tests/test_utils/tests.py @@ -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): """ |
