From f08bbeb7981fd692ffc9277d15d282883a408051 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 26 Oct 2021 15:25:28 -0700 Subject: live tests: FTP wayback replay now returns 200, not 226 --- python/tests/test_live_wayback.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/tests/test_live_wayback.py b/python/tests/test_live_wayback.py index bc74916..f82eac4 100644 --- a/python/tests/test_live_wayback.py +++ b/python/tests/test_live_wayback.py @@ -139,7 +139,7 @@ def test_lookup_ftp(wayback_client): assert resp.hit is True assert resp.status == "success" assert resp.terminal_url == url - assert resp.terminal_status_code == 226 + assert resp.terminal_status_code in (226, 200) assert resp.cdx.url == url assert resp.revisit_cdx assert resp.revisit_cdx.url != url @@ -154,7 +154,7 @@ def test_lookup_ftp(wayback_client): assert resp.hit is True assert resp.status == "success" assert resp.terminal_url == url - assert resp.terminal_status_code == 226 + assert resp.terminal_status_code in (226, 200) assert resp.cdx.url == url file_meta = gen_file_metadata(resp.body) -- cgit v1.2.3