added test badge, rename test to Tests from ubuntu and fix the Incomplete URL substring sanitization(or trying to)

This commit is contained in:
Akash Mahanty
2022-01-23 02:26:53 +05:30
parent aed75ad1db
commit e7488f3a3e
3 changed files with 3 additions and 2 deletions

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 "http://google.com" in repr(oldest)
assert repr(oldest).find("google.com") != -1
assert "1998" in str(oldest)