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
@@ -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 hibob # noqa: E402
|
||||
from plugins import ats, readers # noqa: E402
|
||||
from plugins.readers import hibob # noqa: E402
|
||||
|
||||
FIXTURES = ROOT / "tests" / "fixtures" / "ats"
|
||||
BOARD = (FIXTURES / "hibob.json").read_bytes()
|
||||
@@ -171,7 +171,7 @@ def test_the_robots_txt_that_is_the_apps_own_page_allows(web: dict[str, Any]) ->
|
||||
# ------------------------------------------------------- slugs and hosts
|
||||
|
||||
def test_the_module_is_registered_as_a_paged_host() -> None:
|
||||
assert atshosts.HOSTS["hibob"] is hibob and ats.HOSTS["hibob"] == "HiBob"
|
||||
assert readers.HOSTS["hibob"] is hibob and ats.HOSTS["hibob"] == "HiBob"
|
||||
assert hibob.NAME == "hibob" and not getattr(hibob, "KEEP_CASE", False)
|
||||
assert hasattr(hibob, "page") and not hasattr(hibob, "detail")
|
||||
|
||||
|
||||
Reference in new issue
Block a user