Readers ashby to lever hand on the host's words; their word tables move to app/prep/hosts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-09-30 10:54:19 +02:00
1 parent a66aac95cf
commit 6c7ce1090d
37 files changed
+504 -171

No files matched your search

+4 -4
View File
@@ -51,7 +51,7 @@ def test_a_board_of_general_applications_reads_as_it_is() -> None:
rows = hibob.parse(DIXA, "dixa")
assert [(r["title"], r["location"], r["remote"]) for r in rows] == [
("Expression of interest", "Copenhagen, Denmark", "hybrid"),
("Expression of interest", "London, United Kingdom", "onsite")]
("Expression of interest", "London, United Kingdom", "on_site")]
assert rows[1]["description"].startswith("We're always excited")
@@ -153,10 +153,10 @@ def test_each_ad_names_one_site_and_the_host_lists_a_copy_per_site() -> None:
assert len({r["source_id"] for r in dixa}) == 2
def test_the_employment_type_is_mapped_and_a_permanent_one_is_left_unmapped() -> None:
def test_the_employment_type_is_the_hosts_word() -> None:
rows = hibob.parse(BOARD, "liquidia")
assert rows[0]["employment"] == "full_time" # "Regular Full Time"
assert "employment" not in hibob.parse(DIXA, "dixa")[0] # "Permanent"
assert rows[0]["employment"] == "Regular Full Time"
assert hibob.parse(DIXA, "dixa")[0]["employment"] == "Permanent"
def test_it_declares_copies_with_a_page_and_a_robots_decision() -> None: