Readers oracle to workday and the providers 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 11:07:07 +02:00
1 parent a66aac95cf
commit 06eb929eaf
48 files changed
+460 -388

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
"""Workday's word tables for prep: the host's own words, lowercased, and what they mean."""
from __future__ import annotations
import importlib
workday = importlib.import_module("app.prep.hosts.workday")
def test_remote_type_words_of_the_tenants_read() -> None:
remote = workday.REMOTE
# Zendesk's "Fully Flexible", Axis' "On-Site", Red Hat's "Onsite".
assert [remote[w] for w in ("remote", "fully flexible", "hybrid", "in office",
"on-site", "onsite")] == [
"remote", "remote", "hybrid", "onsite", "onsite", "onsite"]
assert "no" not in remote # a bare "No" says nothing
def test_time_type_words_read() -> None:
assert workday.EMPLOYMENT == {"full time": "full_time", "part time": "part_time"}