diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-10-26 13:54:35 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-10-26 13:54:35 -0700 |
commit | 02cac8f857fe21474ab25aa7150bed2ac5b970d5 (patch) | |
tree | 5163390339c446257f4240579e14e81588fd3632 /python/tests | |
parent | 6650f3862b87bdeac4f3bb9d3561f934858956a0 (diff) | |
download | sandcrawler-02cac8f857fe21474ab25aa7150bed2ac5b970d5.tar.gz sandcrawler-02cac8f857fe21474ab25aa7150bed2ac5b970d5.zip |
flake8 clean (with current settings)
Diffstat (limited to 'python/tests')
-rw-r--r-- | python/tests/test_savepagenow.py | 2 | ||||
-rw-r--r-- | python/tests/test_wayback.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/python/tests/test_savepagenow.py b/python/tests/test_savepagenow.py index 37f0bc9..50cabb4 100644 --- a/python/tests/test_savepagenow.py +++ b/python/tests/test_savepagenow.py @@ -175,7 +175,7 @@ def test_savepagenow_500(spn_client): body=json.dumps(ERROR_BODY)) with pytest.raises(SavePageNowError): - resp = spn_client.save_url_now_v2(TARGET) + spn_client.save_url_now_v2(TARGET) assert len(responses.calls) == 2 diff --git a/python/tests/test_wayback.py b/python/tests/test_wayback.py index 9861db2..0cb59fa 100644 --- a/python/tests/test_wayback.py +++ b/python/tests/test_wayback.py @@ -117,6 +117,7 @@ def test_cdx_fetch_errors(cdx_client): resp = cdx_client.fetch(CDX_TARGET, CDX_DT) assert len(responses.calls) == 3 + assert resp @responses.activate |