mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().
Co-Authored-By: Michael Howitz <mh@gocept.com>
This commit is contained in:
committed by
Mariusz Felisiak
parent
d795259ea9
commit
f0c06f8ab7
@@ -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, "
|
||||
|
||||
Reference in New Issue
Block a user