Updates tests

This commit is contained in:
Mouse Reeve
2021-01-02 08:38:27 -08:00
parent d828b0ead9
commit 86060f795d
5 changed files with 29 additions and 15 deletions

View File

@ -164,7 +164,9 @@ class ImportJob(TestCase):
json={'name': 'test author'},
status=200)
with patch('bookwyrm.connector_manager.first_search_result') as search:
with patch(
'bookwyrm.connectors.connector_manager.first_search_result'
) as search:
search.return_value = result
book = self.item_1.get_book_from_isbn()