Skip to content

Commit

Permalink
update /ct test to HTTP 404, no longer supported
Browse files Browse the repository at this point in the history
  • Loading branch information
dginev committed Jan 7, 2025
1 parent a3c016f commit 573fc15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_clickthrough.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_clickthrough(app_with_fake):
assert resp.status_code == 404

resp = client.get("/ct?url=http%3A%2F%2Fwww.example.com&v=bogus")
assert resp.status_code == 400
assert resp.status_code == 404

url = "https://example.com/something?whereis=thecheese"
hash = create_hash(app_with_fake.config["CLICKTHROUGH_SECRET"], url)
Expand Down

0 comments on commit 573fc15

Please sign in to comment.