mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
Pylint fixes in connector tests
This commit is contained in:
parent
5e99002aad
commit
05fd30cfcf
3 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@ class AbstractConnector(TestCase):
|
|||
|
||||
generated_remote_link_field = "openlibrary_link"
|
||||
|
||||
def parse_search_data(self, data):
|
||||
def parse_search_data(self, data, min_confidence):
|
||||
return data
|
||||
|
||||
def parse_isbn_search_data(self, data):
|
||||
|
|
|
@ -27,7 +27,7 @@ class AbstractConnector(TestCase):
|
|||
def get_or_create_book(self, remote_id):
|
||||
pass
|
||||
|
||||
def parse_search_data(self, data):
|
||||
def parse_search_data(self, data, min_confidence):
|
||||
return data
|
||||
|
||||
def parse_isbn_search_data(self, data):
|
||||
|
|
|
@ -105,7 +105,7 @@ class BookSearch(TestCase):
|
|||
def get_or_create_book(self, remote_id):
|
||||
pass
|
||||
|
||||
def parse_search_data(self, data):
|
||||
def parse_search_data(self, data, min_confidence):
|
||||
return data
|
||||
|
||||
def parse_isbn_search_data(self, data):
|
||||
|
|
Loading…
Reference in a new issue