mirror of
https://github.com/django/django.git
synced 2025-08-10 05:48:15 +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
|
@ -21,7 +21,7 @@ class ConcatTests(TestCase):
|
|||
Author.objects.create(name="Margaret", goes_by="Maggie")
|
||||
Author.objects.create(name="Rhonda", alias="adnohR")
|
||||
authors = Author.objects.annotate(joined=Concat("alias", "goes_by"))
|
||||
self.assertQuerysetEqual(
|
||||
self.assertQuerySetEqual(
|
||||
authors.order_by("name"),
|
||||
[
|
||||
"",
|
||||
|
@ -46,7 +46,7 @@ class ConcatTests(TestCase):
|
|||
authors = Author.objects.annotate(
|
||||
joined=Concat("name", V(" ("), "goes_by", V(")"), output_field=CharField()),
|
||||
)
|
||||
self.assertQuerysetEqual(
|
||||
self.assertQuerySetEqual(
|
||||
authors.order_by("name"),
|
||||
[
|
||||
"Jayden ()",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue