diff options
author | Alasdair Nicol <alasdair@thenicols.net> | 2015-04-27 15:59:16 +0100 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-04-28 09:31:04 -0400 |
commit | eaeea6f94701547ce1b50dbcf5cf71460e9e4c91 (patch) | |
tree | 079b87aab13fc4db25f88ad2c98e68512c7bc39a /tests/multiple_database | |
parent | 3b133ffb8bdf1e0e4c3f2c3af8a62376da643350 (diff) | |
download | django-eaeea6f94701547ce1b50dbcf5cf71460e9e4c91.tar.gz |
Fixed #24714 -- Used more specific assertions than assertEqual in tests.
Diffstat (limited to 'tests/multiple_database')
-rw-r--r-- | tests/multiple_database/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/multiple_database/tests.py b/tests/multiple_database/tests.py index 1ac6b3c590..299ada97b1 100644 --- a/tests/multiple_database/tests.py +++ b/tests/multiple_database/tests.py @@ -536,7 +536,7 @@ class QueryTestCase(TestCase): "ForeignKey.validate() uses the correct database" mickey = Person.objects.using('other').create(name="Mickey") pluto = Pet.objects.using('other').create(name="Pluto", owner=mickey) - self.assertEqual(None, pluto.full_clean()) + self.assertIsNone(pluto.full_clean()) def test_o2o_separation(self): "OneToOne fields are constrained to a single database" |