From b4d0bfb643842e6070a4ee36cfc52e2292e3b5ba Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 27 Oct 2021 14:33:09 -0700 Subject: make fmt (black 21.9b0) --- tests/test_web.py | 6 ++++-- tests/test_work_pipeline.py | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'tests') 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, + }, } ], ) -- cgit v1.2.3