mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().
Co-Authored-By: Michael Howitz <mh@gocept.com>
This commit is contained in:
parent
d795259ea9
commit
f0c06f8ab7
76 changed files with 689 additions and 660 deletions
|
@ -15,7 +15,7 @@ class TrimTests(TestCase):
|
|||
rtrim=RTrim("name"),
|
||||
trim=Trim("name"),
|
||||
)
|
||||
self.assertQuerysetEqual(
|
||||
self.assertQuerySetEqual(
|
||||
authors.order_by("alias"),
|
||||
[
|
||||
("John ", " John", "John"),
|
||||
|
@ -38,4 +38,4 @@ class TrimTests(TestCase):
|
|||
authors = Author.objects.filter(
|
||||
**{"name__%s" % transform.lookup_name: trimmed_name}
|
||||
)
|
||||
self.assertQuerysetEqual(authors, [" John "], lambda a: a.name)
|
||||
self.assertQuerySetEqual(authors, [" John "], lambda a: a.name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue