Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/e2e/test_fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ def test_unparseable_url(kn):


def test_dead_page(kn):
res = kn("fetch", "https://example.com/nonexistent-xyz-12345")
# Not example.com: since Oct 2026 it serves its page on every path,
# so a made-up path there is no longer a dead page.
res = kn("fetch", "https://www.iana.org/nonexistent-xyz-12345")
assert res.code == 1
data = res.yaml()
assert data["error"] == "Not found"
Expand Down
Loading