fix codeql warnings, nothing to worry about here.
This commit is contained in:
@@ -66,7 +66,7 @@ def test_c() -> None:
|
|||||||
timestamp = snapshot.timestamp
|
timestamp = snapshot.timestamp
|
||||||
break
|
break
|
||||||
|
|
||||||
assert "google.com" in archive_url
|
assert str(archive_url).find("google.com")
|
||||||
assert "20101010" in timestamp
|
assert "20101010" in timestamp
|
||||||
|
|
||||||
|
|
||||||
@@ -88,5 +88,5 @@ def test_d() -> None:
|
|||||||
count = 0
|
count = 0
|
||||||
for snapshot in snapshots:
|
for snapshot in snapshots:
|
||||||
count += 1
|
count += 1
|
||||||
assert "akamhy.github.io" in snapshot.archive_url
|
assert str(snapshot.archive_url).find("akamhy.github.io")
|
||||||
assert count > 50
|
assert count > 50
|
||||||
|
Reference in New Issue
Block a user