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:
1 parent
a66aac95cf
commit
06eb929eaf
48 files changed
+460
-388
No files matched your search
@@ -0,0 +1,22 @@
|
||||
"""SmartRecruiters' word tables for prep: the host's ids, and what they mean."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import importlib
|
||||
|
||||
smartrecruiters = importlib.import_module("app.prep.hosts.smartrecruiters")
|
||||
|
||||
|
||||
def test_experience_levels_read() -> None:
|
||||
seniority = smartrecruiters.SENIORITY
|
||||
assert [seniority[w] for w in ("internship", "entry_level", "director", "executive")] == [
|
||||
"intern", "junior", "director", "exec"]
|
||||
# Known, and naming no level.
|
||||
assert [seniority[w] for w in ("associate", "mid_senior_level", "not_applicable")] == [""] * 3
|
||||
assert "guru" not in seniority
|
||||
|
||||
|
||||
def test_employment_types_read() -> None:
|
||||
employment = smartrecruiters.EMPLOYMENT
|
||||
assert employment["intern"] == "internship" and employment["permanent"] == ""
|
||||
assert employment["full_time"] == "full_time" and employment["part_time"] == "part_time"
|
||||
Reference in new issue
Block a user