Updates tests
This commit is contained in:
parent
d828b0ead9
commit
86060f795d
5 changed files with 29 additions and 15 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue