Fixes call to import task
This commit is contained in:
parent
40fff02eec
commit
08f4ad6cd4
2 changed files with 3 additions and 3 deletions
|
@ -120,7 +120,7 @@ class GenericImporter(TestCase):
|
|||
)
|
||||
|
||||
with patch("bookwyrm.importers.importer.import_item_task.delay") as mock:
|
||||
start_import_task(self.importer.service, import_job.id)
|
||||
start_import_task(import_job.id)
|
||||
|
||||
self.assertEqual(mock.call_count, 4)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue