Skip to content

Commit

Permalink
Merge pull request #13 from hugovk/fix-test
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Jun 12, 2022
2 parents 0c3cd25 + 37f600f commit 31389d6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@ def teardown_method(self):
@freeze_time("2018-12-26")
def test__cache_filename(self):
# Arrange
url = "https://endoflife.date/api/python.json"
url = "https://peps.python.org/api/peps.json"

# Act
out = _cache.filename(url)

# Assert
# TODO rename
assert str(out).endswith("2018-12-26-https-endoflife-date-api-python-json.json")
assert str(out).endswith("2018-12-26-https-peps-python-org-api-peps-json.json")

def test__load_cache_not_exist(self):
# Arrange
Expand Down

0 comments on commit 31389d6

Please sign in to comment.