diff --git a/tests/test_cdx_api.py b/tests/test_cdx_api.py index 777e1a3..b7f28c2 100644 --- a/tests/test_cdx_api.py +++ b/tests/test_cdx_api.py @@ -66,7 +66,7 @@ def test_c() -> None: timestamp = snapshot.timestamp break - assert "google.com" in archive_url + assert str(archive_url).find("google.com") assert "20101010" in timestamp @@ -88,5 +88,5 @@ def test_d() -> None: count = 0 for snapshot in snapshots: count += 1 - assert "akamhy.github.io" in snapshot.archive_url + assert str(snapshot.archive_url).find("akamhy.github.io") assert count > 50