Files
jobboard/tests/test_prep_hosts_teamtailor.py
T

15 lines
488 B
Python

"""Teamtailor's word table for prep: the feed's `remoteStatus`."""
from __future__ import annotations
import importlib
teamtailor = importlib.import_module("app.prep.hosts.teamtailor")
def test_remote_status_words_read() -> None:
remote = teamtailor.REMOTE
assert [remote[w] for w in ("fully", "hybrid", "onsite")] == ["remote", "hybrid", "onsite"]
# Known, and saying nothing about where the role is worked.
assert remote["none"] == "" and remote["temporary"] == ""