summaryrefslogtreecommitdiff
path: root/tests/custom_methods
diff options
context:
space:
mode:
authorGregor Gärtner <code@gregorgaertner.de>2022-09-24 11:29:58 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-10-08 08:07:38 +0200
commitf0c06f8ab7904e1fd082f2de57337f6c7e05f177 (patch)
tree2073bfe1bb55350d9516f9a54ad7d9895a84ca48 /tests/custom_methods
parentd795259ea96004df0a2469246229a146307bcd2c (diff)
downloaddjango-f0c06f8ab7904e1fd082f2de57337f6c7e05f177.tar.gz
Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().
Co-Authored-By: Michael Howitz <mh@gocept.com>
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",