summaryrefslogtreecommitdiff
path: root/tests/custom_methods
diff options
context:
space:
mode:
Diffstat (limited to 'tests/custom_methods')
-rw-r--r--tests/custom_methods/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/custom_methods/tests.py b/tests/custom_methods/tests.py
index 2bae2d2623..43232e2132 100644
--- a/tests/custom_methods/tests.py
+++ b/tests/custom_methods/tests.py
@@ -15,14 +15,14 @@ class MethodsTests(TestCase):
)
self.assertFalse(a.was_published_today())
- self.assertQuerysetEqual(
+ self.assertQuerySetEqual(
a.articles_from_same_day_1(),
[
"Beatles reunite",
],
lambda a: a.headline,
)
- self.assertQuerysetEqual(
+ self.assertQuerySetEqual(
a.articles_from_same_day_2(),
[
"Beatles reunite",
@@ -30,14 +30,14 @@ class MethodsTests(TestCase):
lambda a: a.headline,
)
- self.assertQuerysetEqual(
+ self.assertQuerySetEqual(
b.articles_from_same_day_1(),
[
"Parrot programs in Python",
],
lambda a: a.headline,
)
- self.assertQuerysetEqual(
+ self.assertQuerySetEqual(
b.articles_from_same_day_2(),
[
"Parrot programs in Python",