From f0c06f8ab7904e1fd082f2de57337f6c7e05f177 Mon Sep 17 00:00:00 2001 From: Gregor Gärtner Date: Sat, 24 Sep 2022 11:29:58 +0100 Subject: Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). Co-Authored-By: Michael Howitz --- tests/model_fields/test_jsonfield.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/model_fields') diff --git a/tests/model_fields/test_jsonfield.py b/tests/model_fields/test_jsonfield.py index 2c32d8a4ea..277e8aaa3c 100644 --- a/tests/model_fields/test_jsonfield.py +++ b/tests/model_fields/test_jsonfield.py @@ -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"}) -- cgit v1.3