Fix Incomplete URL substring sanitization in the last commit.
This commit is contained in:
parent
1bacd73002
commit
a8acc4c4d8
@ -30,7 +30,7 @@ def test_oldest():
|
|||||||
oldest_timestamp = oldest.timestamp()
|
oldest_timestamp = oldest.timestamp()
|
||||||
assert abs(oldest_timestamp - now) > timedelta(days=8400) # More than 20 years
|
assert abs(oldest_timestamp - now) > timedelta(days=8400) # More than 20 years
|
||||||
assert availability_api.JSON["archived_snapshots"]["closest"]["available"] is True
|
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)
|
assert "1998" in str(oldest)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user