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.discover import boards_in # noqa: E402
|
||||
from plugins import ats, atshosts # noqa: E402
|
||||
from plugins.atshosts import rippling # noqa: E402
|
||||
from plugins import ats, readers # noqa: E402
|
||||
from plugins.readers import rippling # noqa: E402
|
||||
|
||||
FIXTURES = ROOT / "tests" / "fixtures" / "ats"
|
||||
BOARD = (FIXTURES / "rippling.json").read_bytes()
|
||||
@@ -168,7 +168,7 @@ def test_robots_are_read_from_the_site_and_disallow_only_internal(
|
||||
# ------------------------------------------------------- slugs and hosts
|
||||
|
||||
def test_the_module_is_registered_as_a_feed_host_with_detail() -> None:
|
||||
assert atshosts.HOSTS["rippling"] is rippling and ats.HOSTS["rippling"] == "Rippling"
|
||||
assert readers.HOSTS["rippling"] is rippling and ats.HOSTS["rippling"] == "Rippling"
|
||||
assert rippling.NAME == "rippling" and rippling.KEEP_CASE
|
||||
assert hasattr(rippling, "detail") and not hasattr(rippling, "page")
|
||||
|
||||
|
||||
Reference in new issue
Block a user