Fixes formatting isbn endpoint results

This commit is contained in:
Mouse Reeve
2021-09-16 12:52:10 -07:00
parent 22af7ece71
commit 8c4cafed79
4 changed files with 11 additions and 11 deletions

View File

@ -119,12 +119,10 @@ class AbstractConnector(TestCase):
@responses.activate
def test_get_or_create_author(self):
"""load an author"""
self.connector.author_mappings = ( # pylint: disable=attribute-defined-outside-init
[ # pylint: disable=attribute-defined-outside-init
Mapping("id"),
Mapping("name"),
]
)
self.connector.author_mappings = [ # pylint: disable=attribute-defined-outside-init # pylint: disable=attribute-defined-outside-init
Mapping("id"),
Mapping("name"),
]
responses.add(
responses.GET,