Merge branch 'main' into edit-status-header

This commit is contained in:
Mouse Reeve 2024-08-26 13:34:49 -07:00 committed by GitHub
commit abb97e6044
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,7 +63,9 @@ class GenericImporter(TestCase):
self.assertEqual(import_job.include_reviews, False) self.assertEqual(import_job.include_reviews, False)
self.assertEqual(import_job.privacy, "public") self.assertEqual(import_job.privacy, "public")
import_items = models.ImportItem.objects.filter(job=import_job).all() import_items = (
models.ImportItem.objects.filter(job=import_job).all().order_by("id")
)
self.assertEqual(len(import_items), 4) self.assertEqual(len(import_items), 4)
self.assertEqual(import_items[0].index, 0) self.assertEqual(import_items[0].index, 0)
self.assertEqual(import_items[0].normalized_data["id"], "38") self.assertEqual(import_items[0].normalized_data["id"], "38")