Let the runner drop and count a row without an id, a title or a link, as ADR Plugins 3.8 has it, in one place for whole, paged and search reads: the count is stamped per target, logged, named on the board's row, and over 10% of the rows fails the read; the 28 readers hand every listing over instead of skipping it
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
38c31c830b
commit
911dfe8584
58 files changed
+479
-203
No files matched your search
@@ -10,7 +10,7 @@ ROOT = Path(__file__).resolve().parents[1]
|
||||
if str(ROOT) not in sys.path:
|
||||
sys.path.insert(0, str(ROOT))
|
||||
|
||||
from plugins.readers import Ask, teamtailor # noqa: E402
|
||||
from plugins.readers import Ask, _runner, teamtailor # noqa: E402
|
||||
|
||||
FIXTURES = ROOT / "tests" / "fixtures" / "ats"
|
||||
|
||||
@@ -40,7 +40,8 @@ def test_page_takes_the_ask_and_reads_the_same_url() -> None:
|
||||
|
||||
|
||||
def test_every_distinct_location_is_a_place_with_the_roles_work_mode() -> None:
|
||||
first, second, third = _rows()
|
||||
first, second, third, refused = _rows()
|
||||
assert not _runner.valid(refused) # javascript:, for the runner
|
||||
# "Sverige" (a city that is a country) once, Stockholm's twin once.
|
||||
assert first["places"] == [{"text": "Sverige, Sweden", "remote": False}, # hybrid
|
||||
{"text": "Stockholm, Sweden", "remote": False}]
|
||||
|
||||
Reference in new issue
Block a user