1
0
mirror of https://github.com/django/django.git synced 2025-09-10 11:09:12 +00:00

Fixed incorrect IDs in test_in_bulk_preserve_ordering.

This commit is contained in:
Tim Graham 2025-08-27 09:55:23 -04:00 committed by Jacob Walls
parent d8426f64a7
commit 1285de557b

View File

@ -250,8 +250,8 @@ class LookupTests(TestCase):
def test_in_bulk_preserve_ordering(self): def test_in_bulk_preserve_ordering(self):
self.assertEqual( self.assertEqual(
list(Article.objects.in_bulk([self.au2.id, self.au1.id])), list(Article.objects.in_bulk([self.a2.id, self.a1.id])),
[self.au2.id, self.au1.id], [self.a2.id, self.a1.id],
) )
def test_in_bulk_preserve_ordering_with_batch_size(self): def test_in_bulk_preserve_ordering_with_batch_size(self):