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
@@ -404,12 +404,12 @@ class GeoLookupTest(TestCase):
|
||||
@skipUnlessGISLookup("strictly_above", "strictly_below")
|
||||
def test_strictly_above_below_lookups(self):
|
||||
dallas = City.objects.get(name="Dallas")
|
||||
self.assertQuerysetEqual(
|
||||
self.assertQuerySetEqual(
|
||||
City.objects.filter(point__strictly_above=dallas.point).order_by("name"),
|
||||
["Chicago", "Lawrence", "Oklahoma City", "Pueblo", "Victoria"],
|
||||
lambda b: b.name,
|
||||
)
|
||||
self.assertQuerysetEqual(
|
||||
self.assertQuerySetEqual(
|
||||
City.objects.filter(point__strictly_below=dallas.point).order_by("name"),
|
||||
["Houston", "Wellington"],
|
||||
lambda b: b.name,
|
||||
|
||||
Reference in New Issue
Block a user