mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().
Co-Authored-By: Michael Howitz <mh@gocept.com>
This commit is contained in:
committed by
Mariusz Felisiak
parent
d795259ea9
commit
f0c06f8ab7
@@ -1230,10 +1230,10 @@ class QueryTestCase(TestCase):
|
||||
val = Book.objects.db_manager("other").raw(
|
||||
"SELECT id FROM multiple_database_book"
|
||||
)
|
||||
self.assertQuerysetEqual(val, [dive.pk], attrgetter("pk"))
|
||||
self.assertQuerySetEqual(val, [dive.pk], attrgetter("pk"))
|
||||
|
||||
val = Book.objects.raw("SELECT id FROM multiple_database_book").using("other")
|
||||
self.assertQuerysetEqual(val, [dive.pk], attrgetter("pk"))
|
||||
self.assertQuerySetEqual(val, [dive.pk], attrgetter("pk"))
|
||||
|
||||
def test_select_related(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user