Skip to content

Commit 31389d6

Browse files
authored
Merge pull request #13 from hugovk/fix-test
2 parents 0c3cd25 + 37f600f commit 31389d6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_cache.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@ def teardown_method(self):
2323
@freeze_time("2018-12-26")
2424
def test__cache_filename(self):
2525
# Arrange
26-
url = "https://endoflife.date/api/python.json"
26+
url = "https://peps.python.org/api/peps.json"
2727

2828
# Act
2929
out = _cache.filename(url)
3030

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

3534
def test__load_cache_not_exist(self):
3635
# Arrange

0 commit comments

Comments
 (0)