summaryrefslogtreecommitdiff
path: root/tests/null_fk
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/null_fk
parentd795259ea96004df0a2469246229a146307bcd2c (diff)
Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().
Co-Authored-By: Michael Howitz <mh@gocept.com>
Diffstat (limited to 'tests/null_fk')
-rw-r--r--tests/null_fk/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/null_fk/tests.py b/tests/null_fk/tests.py
index 174d5ba064..9bf5f93f6c 100644
--- a/tests/null_fk/tests.py
+++ b/tests/null_fk/tests.py
@@ -21,7 +21,7 @@ class NullFkTests(TestCase):
self.assertEqual(c.post, p)
self.assertIsNone(Comment.objects.select_related().get(id=c2.id).post)
- self.assertQuerysetEqual(
+ self.assertQuerySetEqual(
Comment.objects.select_related("post__forum__system_info").all(),
[
(c1.id, "My first comment", "<Post: First Post>"),
@@ -35,7 +35,7 @@ class NullFkTests(TestCase):
Comment.objects.select_related("post").filter(post__isnull=True)[0].post
)
- self.assertQuerysetEqual(
+ self.assertQuerySetEqual(
Comment.objects.select_related("post__forum__system_info__system_details"),
[
(c1.id, "My first comment", "<Post: First Post>"),