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

+4 -4
View File
@@ -14,8 +14,8 @@ if str(ROOT) not in sys.path:
sys.path.insert(0, str(ROOT))
from app.jobs import discover # noqa: E402
from plugins import ats, atshosts # noqa: E402
from plugins.atshosts import pinpoint # noqa: E402
from plugins import ats, readers # noqa: E402
from plugins.readers import pinpoint # noqa: E402
FIXTURES = ROOT / "tests" / "fixtures" / "ats"
@@ -122,7 +122,7 @@ def test_the_slug_the_urls_and_the_allow_list() -> None:
assert allow("xeneta.pinpointhq.com") and allow("XENETA.pinpointhq.com")
assert not allow("pinpointhq.com") and not allow("other.pinpointhq.com")
assert not allow("xeneta.pinpointhq.com.evil.example") and not allow("localhost")
assert atshosts.HOSTS["pinpoint"] is pinpoint and ats.HOSTS["pinpoint"] == "Pinpoint"
assert readers.HOSTS["pinpoint"] is pinpoint and ats.HOSTS["pinpoint"] == "Pinpoint"
@pytest.mark.parametrize("slug", [
@@ -146,7 +146,7 @@ def test_discovery_finds_the_subdomain() -> None:
'<script src="https://www.pinpointhq.com/embed.js"></script>')
assert [(h, s) for h, s, _ in discover.boards_in(page)] == [("pinpoint", "xeneta")]
assert discover.boards_in("https://pinpointhq.com/") == []
assert "pinpoint" not in {h for h, _ in discover._UNREADABLE if h not in atshosts.HOSTS}
assert "pinpoint" not in {h for h, _ in discover._UNREADABLE if h not in readers.HOSTS}
def test_a_pinpoint_board_is_not_probed() -> None: