From bcbf5bb48624d5b328fe20a6a8435f360f69341e Mon Sep 17 00:00:00 2001 From: Wolf Date: Tue, 29 Sep 2026 20:05:34 +0200 Subject: [PATCH] Let a host added after the eight keep a discovered slug's case Co-Authored-By: Claude Fable 5.1 --- tests/test_discover.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_discover.py b/tests/test_discover.py index a022662..2e072f4 100644 --- a/tests/test_discover.py +++ b/tests/test_discover.py @@ -79,8 +79,10 @@ def test_boards_in_lowercases_a_slug_unless_the_host_keeps_its_case( def test_no_module_of_the_eight_keeps_its_case() -> None: """SmartRecruiters and Ashby ignore case (checked live, 2026-09-29), so a - slug from a page stays lowercased as it always was.""" - assert not mod._KEEP_CASE + slug from a page stays lowercased as it always was. A host added since + may keep it, as Workday does for its site names.""" + assert not mod._KEEP_CASE & {"greenhouse", "lever", "ashby", "workable", "smartrecruiters", + "recruitee", "personio", "teamtailor"} def test_a_host_that_gains_a_module_replaces_its_unreadable_pattern() -> None: