mirror of
https://github.com/django/django.git
synced 2025-09-10 02:59:34 +00:00
Fixed incorrect IDs in test_in_bulk_preserve_ordering.
This commit is contained in:
parent
d8426f64a7
commit
1285de557b
@ -250,8 +250,8 @@ class LookupTests(TestCase):
|
||||
|
||||
def test_in_bulk_preserve_ordering(self):
|
||||
self.assertEqual(
|
||||
list(Article.objects.in_bulk([self.au2.id, self.au1.id])),
|
||||
[self.au2.id, self.au1.id],
|
||||
list(Article.objects.in_bulk([self.a2.id, self.a1.id])),
|
||||
[self.a2.id, self.a1.id],
|
||||
)
|
||||
|
||||
def test_in_bulk_preserve_ordering_with_batch_size(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user