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:
1 parent
af337ef558
commit
73dec9028e
48 files changed
+104
-104
No files matched your search
@@ -17,8 +17,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 jibe # noqa: E402
|
||||
from plugins import ats, readers # noqa: E402
|
||||
from plugins.readers import jibe # noqa: E402
|
||||
|
||||
FIXTURES = ROOT / "tests" / "fixtures" / "ats"
|
||||
SITE = "jobs.booking.com"
|
||||
@@ -152,7 +152,7 @@ def test_the_slug_the_urls_and_the_allow_list() -> None:
|
||||
assert allow("jobs.booking.com") and allow("JOBS.BOOKING.COM")
|
||||
assert not allow("booking.com") and not allow("evil.example")
|
||||
assert not allow("jobs.booking.com.evil.example") and not allow("localhost")
|
||||
assert atshosts.HOSTS["jibe"] is jibe and ats.HOSTS["jibe"] == "Jibe"
|
||||
assert readers.HOSTS["jibe"] is jibe and ats.HOSTS["jibe"] == "Jibe"
|
||||
|
||||
|
||||
@pytest.mark.parametrize("slug", [
|
||||
|
||||
Reference in new issue
Block a user