aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/test_savepagenow.py2
-rw-r--r--python/tests/test_wayback.py1
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