diff --git a/bookwyrm/tests/importers/test_importer.py b/bookwyrm/tests/importers/test_importer.py index 295e2aeb7..ea0dbbe75 100644 --- a/bookwyrm/tests/importers/test_importer.py +++ b/bookwyrm/tests/importers/test_importer.py @@ -150,6 +150,7 @@ class GenericImporter(TestCase): print(items.count()) print(import_job.pending_items.count()) for item in items[:3]: + print(item.id) item.fail_reason = "hello" item.save() item.update_job() @@ -163,11 +164,14 @@ class GenericImporter(TestCase): print(import_job.pending_items.count()) item = items[3] + print(item.id) + print(item.fail_reason, item.book) item.fail_reason = "hello" item.save() item.update_job() print(import_job.pending_items.count()) import_job.refresh_from_db() + print(import_job.pending_items.count()) self.assertTrue(import_job.complete) self.assertTrue( models.Notification.objects.filter(