diff --git a/bookwyrm/tests/views/books/test_edit_book.py b/bookwyrm/tests/views/books/test_edit_book.py index 2c3254df0..2dc25095f 100644 --- a/bookwyrm/tests/views/books/test_edit_book.py +++ b/bookwyrm/tests/views/books/test_edit_book.py @@ -46,9 +46,10 @@ class EditBookViews(TestCase): remote_id="https://example.com/book/1", parent_work=self.work, ) - + # pylint: disable=line-too-long self.authors_body = "1.10000000084510024" + # pylint: disable=line-too-long self.author_body = "0000000084510024https://isni.org/isni/000000008451002460Catherine Amy Dawson Scottpoet and novelistpublicVIAFWKPQ544961C. A.Dawson Scott1865-1934publicVIAFNLPa28927850VIAF45886165ALLCREhttp://viaf.org/viaf/45886165Wikipediahttps://en.wikipedia.org/wiki/Catherine_Amy_Dawson_Scott" responses.get( diff --git a/bookwyrm/utils/isni.py b/bookwyrm/utils/isni.py index a6b0060fc..bcff3810f 100644 --- a/bookwyrm/utils/isni.py +++ b/bookwyrm/utils/isni.py @@ -86,7 +86,8 @@ def find_authors_by_name(name_string, description=False): possible_authors = [] for element in root.iter("responseRecord"): - # TODO: we don't seem to do anything with the personal_name variable - is this code block needed? + # TODO: we don't seem to do anything with the + # personal_name variable - is this code block needed? personal_name = element.find(".//forename/..") if not personal_name: continue