Skip to content

Commit

Permalink
Merge branch 'main' into hide-ratings
Browse files Browse the repository at this point in the history
  • Loading branch information
mouse-reeve authored Aug 26, 2024
2 parents c9155bd + df607a0 commit a6912dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bookwyrm/tests/importers/test_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ def test_create_job(self, *_):
self.assertEqual(import_job.include_reviews, False)
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(import_items[0].index, 0)
self.assertEqual(import_items[0].normalized_data["id"], "38")
Expand Down

0 comments on commit a6912dc

Please sign in to comment.