Name an unreadable host in the two tests that used Teamtailor for one

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Fable 5.1 committed 2026-09-29 16:15:55 +02:00
1 parent d887a91af0
commit aabf2b4f1b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ def test_a_board_that_does_not_answer_or_is_unknown_is_refused(
with pytest.raises(ValueError, match="did not answer"):
sources.set_board(store, "", "greenhouse:gone", name="Gone")
with pytest.raises(ValueError, match="host:slug"):
sources.set_board(store, "", "teamtailor:gone", name="Gone")
sources.set_board(store, "", "workday:gone", name="Gone")
with pytest.raises(ValueError, match="needs a name"):
sources.set_board(store, "nobody", "greenhouse:acme")
with pytest.raises(ValueError, match="is not the company"):
+1 -1
View File
@@ -1161,7 +1161,7 @@ def test_a_companys_board_is_set_replaced_and_detached(
assert client.post("/api/companies/nope/board",
json={"board": "lever:acme"}).status_code == 404
assert client.delete("/api/companies/nope/board").status_code == 404
bad = client.post("/api/companies/acme/board", json={"board": "teamtailor:acme"})
bad = client.post("/api/companies/acme/board", json={"board": "workday:acme"})
assert bad.status_code == 422 and "host:slug" in bad.json()["detail"]