mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +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
@@ -373,7 +373,7 @@ class TestQuerying(TestCase):
|
||||
self.assertSequenceEqual(qs, [self.objs[4]])
|
||||
none_val = "" if connection.features.interprets_empty_strings_as_nulls else None
|
||||
qs = NullableJSONModel.objects.filter(value__isnull=False)
|
||||
self.assertQuerysetEqual(
|
||||
self.assertQuerySetEqual(
|
||||
qs.filter(value__isnull=False)
|
||||
.annotate(key=KT("value__d__1__f"))
|
||||
.values("key")
|
||||
@@ -392,7 +392,7 @@ class TestQuerying(TestCase):
|
||||
.annotate(count=Count("value__d__0"))
|
||||
.order_by("count")
|
||||
)
|
||||
self.assertQuerysetEqual(qs, [0, 1], operator.itemgetter("count"))
|
||||
self.assertQuerySetEqual(qs, [0, 1], operator.itemgetter("count"))
|
||||
|
||||
def test_order_grouping_custom_decoder(self):
|
||||
NullableJSONModel.objects.create(value_custom={"a": "b"})
|
||||
|
||||
Reference in New Issue
Block a user