diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 20544d9..a076b00 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -1,7 +1,7 @@ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions -name: Ubuntu +name: Tests on: push: diff --git a/README.md b/README.md index 485c881..7901834 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@
+
diff --git a/tests/test_availability_api.py b/tests/test_availability_api.py
index a64c14f..3177061 100644
--- a/tests/test_availability_api.py
+++ b/tests/test_availability_api.py
@@ -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)