summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2025-08-27 09:55:23 -0400
committerJacob Walls <jacobtylerwalls@gmail.com>2025-08-27 18:23:42 -0400
commit1285de557b0b8b9c5ebe5de0114b2da5abe60f80 (patch)
tree32b37cce2d4381745d0df68ea77c83551fed031b
parentd8426f64a75356832655c457be3c9761102d9cf1 (diff)
Fixed incorrect IDs in test_in_bulk_preserve_ordering.
-rw-r--r--tests/lookup/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lookup/tests.py b/tests/lookup/tests.py
index ef54472e54..6932eca0c8 100644
--- a/tests/lookup/tests.py
+++ b/tests/lookup/tests.py
@@ -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):