Fix Incomplete URL substring sanitization in the last commit.

This commit is contained in:
Akash Mahanty 2022-01-23 01:42:48 +05:30
parent 1bacd73002
commit a8acc4c4d8

View File

@ -30,7 +30,7 @@ def test_oldest():
oldest_timestamp = oldest.timestamp()
assert abs(oldest_timestamp - now) > timedelta(days=8400) # More than 20 years
assert availability_api.JSON["archived_snapshots"]["closest"]["available"] is True
assert "google.com" in repr(oldest)
assert "http://google.com" in repr(oldest)
assert "1998" in str(oldest)