From 02cac8f857fe21474ab25aa7150bed2ac5b970d5 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 26 Oct 2021 13:54:35 -0700 Subject: flake8 clean (with current settings) --- python/tests/test_savepagenow.py | 2 +- python/tests/test_wayback.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'python/tests') 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 -- cgit v1.2.3