diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_web.py | 6 | ||||
-rw-r--r-- | tests/test_work_pipeline.py | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/tests/test_web.py b/tests/test_web.py index 8225731..3ffab87 100644 --- a/tests/test_web.py +++ b/tests/test_web.py @@ -178,7 +178,8 @@ def test_access_redirect_fallback(client: Any, mocker: Any) -> None: fatcat_get_work_raw = mocker.patch("fatcat_openapi_client.DefaultApi.get_work") fatcat_get_work_raw.side_effect = [ fatcat_openapi_client.WorkEntity( - state="active", ident="wwwwwwwwwwwwwwwwwwwwwwwwww", + state="active", + ident="wwwwwwwwwwwwwwwwwwwwwwwwww", ) ] * 4 fatcat_get_work_releases_raw = mocker.patch( @@ -205,7 +206,8 @@ def test_access_redirect_fallback(client: Any, mocker: Any) -> None: ident="ffffffffffffffffffffffffff", urls=[ fatcat_openapi_client.FileUrl( - rel="web", url="https://blarg.example.com", + rel="web", + url="https://blarg.example.com", ), fatcat_openapi_client.FileUrl( rel="webarchive", diff --git a/tests/test_work_pipeline.py b/tests/test_work_pipeline.py index d0512cf..55cc7d8 100644 --- a/tests/test_work_pipeline.py +++ b/tests/test_work_pipeline.py @@ -77,7 +77,10 @@ def test_run_transform(mocker: Any) -> None: { "doi": "10.7717/peerj.4375", "indexed": "2020-07-07T02:15:52.98309+00:00", - "record": {"title": "something", "TODO_better_object": 3,}, + "record": { + "title": "something", + "TODO_better_object": 3, + }, } ], ) |