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/db_functions/text/test_lower.py | |
| parent | d795259ea96004df0a2469246229a146307bcd2c (diff) | |
Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().
Co-Authored-By: Michael Howitz <mh@gocept.com>
Diffstat (limited to 'tests/db_functions/text/test_lower.py')
| -rw-r--r-- | tests/db_functions/text/test_lower.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/db_functions/text/test_lower.py b/tests/db_functions/text/test_lower.py index f4bdc04573..a1feabc52a 100644 --- a/tests/db_functions/text/test_lower.py +++ b/tests/db_functions/text/test_lower.py @@ -11,11 +11,11 @@ class LowerTests(TestCase): Author.objects.create(name="John Smith", alias="smithj") Author.objects.create(name="Rhonda") authors = Author.objects.annotate(lower_name=Lower("name")) - self.assertQuerysetEqual( + self.assertQuerySetEqual( authors.order_by("name"), ["john smith", "rhonda"], lambda a: a.lower_name ) Author.objects.update(name=Lower("name")) - self.assertQuerysetEqual( + self.assertQuerySetEqual( authors.order_by("name"), [ ("john smith", "john smith"), @@ -35,6 +35,6 @@ class LowerTests(TestCase): Author.objects.create(name="John Smith", alias="smithj") Author.objects.create(name="Rhonda") authors = Author.objects.filter(name__lower__exact="john smith") - self.assertQuerysetEqual( + self.assertQuerySetEqual( authors.order_by("name"), ["John Smith"], lambda a: a.name ) |
