Rename plugins/atshosts to plugins/readers

Every import, test and live doc follows the new path; behaviour is unchanged.
tests/test_atshosts.py becomes tests/test_readers.py. plan-readers.md and
review-ingest.md keep the old name, since they describe the state before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-09-30 08:48:30 +02:00
1 parent af337ef558
commit 73dec9028e
48 files changed
+104 -104

No files matched your search

+3 -3
View File
@@ -16,8 +16,8 @@ if str(ROOT) not in sys.path:
sys.path.insert(0, str(ROOT))
from app.jobs.discover import boards_in # noqa: E402
from plugins import ats, atshosts # noqa: E402
from plugins.atshosts import deel # noqa: E402
from plugins import ats, readers # noqa: E402
from plugins.readers import deel # noqa: E402
PAGE = (ROOT / "tests" / "fixtures" / "ats" / "deel.html").read_bytes()
URL = "https://jobs.deel.com/klarna"
@@ -126,7 +126,7 @@ def test_a_page_that_cannot_be_read_fails_the_board(web: dict[str, Any]) -> None
# ------------------------------------------------------- slugs and hosts
def test_the_module_is_registered_as_a_feed_host() -> None:
assert atshosts.HOSTS["deel"] is deel and ats.HOSTS["deel"] == "Deel"
assert readers.HOSTS["deel"] is deel and ats.HOSTS["deel"] == "Deel"
assert deel.NAME == "deel" and deel.KEEP_CASE
assert not hasattr(deel, "page") and not hasattr(deel, "detail")