summaryrefslogtreecommitdiff
path: root/tests/db_functions/text/test_pad.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/db_functions/text/test_pad.py')
-rw-r--r--tests/db_functions/text/test_pad.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/db_functions/text/test_pad.py b/tests/db_functions/text/test_pad.py
index 006a27c0e8..6ae5e7496b 100644
--- a/tests/db_functions/text/test_pad.py
+++ b/tests/db_functions/text/test_pad.py
@@ -35,7 +35,7 @@ class PadTests(TestCase):
for function, padded_name in tests:
with self.subTest(function=function):
authors = Author.objects.annotate(padded_name=function)
- self.assertQuerysetEqual(
+ self.assertQuerySetEqual(
authors, [padded_name], lambda a: a.padded_name, ordered=False
)
@@ -51,7 +51,7 @@ class PadTests(TestCase):
Author.objects.create(name="Rhonda", alias="john_smith")
Author.objects.create(name="♥♣♠", alias="bytes")
authors = Author.objects.annotate(filled=LPad("name", Length("alias")))
- self.assertQuerysetEqual(
+ self.assertQuerySetEqual(
authors.order_by("alias"),
[" ♥♣♠", " Rhonda"],
lambda a: a.filled,