diff options
author | Gregor Gärtner <code@gregorgaertner.de> | 2022-09-24 11:29:58 +0100 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-10-08 08:07:38 +0200 |
commit | f0c06f8ab7904e1fd082f2de57337f6c7e05f177 (patch) | |
tree | 2073bfe1bb55350d9516f9a54ad7d9895a84ca48 /tests/fixtures_regress | |
parent | d795259ea96004df0a2469246229a146307bcd2c (diff) | |
download | django-f0c06f8ab7904e1fd082f2de57337f6c7e05f177.tar.gz |
Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().
Co-Authored-By: Michael Howitz <mh@gocept.com>
Diffstat (limited to 'tests/fixtures_regress')
-rw-r--r-- | tests/fixtures_regress/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fixtures_regress/tests.py b/tests/fixtures_regress/tests.py index ff796feb94..2afea99b46 100644 --- a/tests/fixtures_regress/tests.py +++ b/tests/fixtures_regress/tests.py @@ -599,7 +599,7 @@ class TestFixtures(TestCase): @override_settings(FIXTURE_DIRS=[Path(_cur_dir) / "fixtures_1"]) def test_fixtures_dir_pathlib(self): management.call_command("loaddata", "inner/absolute.json", verbosity=0) - self.assertQuerysetEqual(Absolute.objects.all(), [1], transform=lambda o: o.pk) + self.assertQuerySetEqual(Absolute.objects.all(), [1], transform=lambda o: o.pk) class NaturalKeyFixtureTests(TestCase): @@ -792,7 +792,7 @@ class NaturalKeyFixtureTests(TestCase): verbosity=0, ) books = Book.objects.all() - self.assertQuerysetEqual( + self.assertQuerySetEqual( books, [ "<Book: Cryptonomicon by Neal Stephenson (available at Amazon, " |