diff options
Diffstat (limited to 'tests/bulk_create/tests.py')
-rw-r--r-- | tests/bulk_create/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bulk_create/tests.py b/tests/bulk_create/tests.py index 3ccbfc19b3..2fd9801d35 100644 --- a/tests/bulk_create/tests.py +++ b/tests/bulk_create/tests.py @@ -26,7 +26,7 @@ class BulkCreateTests(TestCase): def test_simple(self): created = Country.objects.bulk_create(self.data) - self.assertEqual(len(created), 4) + self.assertEqual(created, self.data) self.assertQuerysetEqual(Country.objects.order_by("-name"), [ "United States of America", "The Netherlands", "Germany", "Czech Republic" ], attrgetter("name")) |