Pass update fields when ticking last active date

This commit is contained in:
Mouse Reeve
2021-08-03 09:12:22 -07:00
parent a84a744e8d
commit cfbe1b29cd
6 changed files with 36 additions and 28 deletions

View File

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