chore(core): stage 1 contracts — dialog, API schemas + fixtures, integrations, monitoring, modules
CI / ruff · pytest (pull_request) Successful in 22s
CI / ruff · pytest (pull_request) Successful in 22s
Freeze interfaces between lanes A (bot), B (backend), C (dashboard) so three developers work in parallel without touching each other's files: dialog Event/Reply + engine registry with echo stub, integration protocols with in-memory defaults, MonitoringService with noop stub, /api/v1 schemas with fixture-backed routes, frozen main.py wiring, config/modules.yaml + due_scales(), DAR-5, tzdata, Andrey trajectory, lanes in WORKFLOW, ADR-010. Refs #34 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -191,9 +191,7 @@ def test_pseudo_id_default_key_from_settings() -> None:
|
||||
assert pseudo_id("11223344595") == pseudo_id("11223344595", key=get_settings().pseudo_key)
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"bad", ["", "1234567890", "123456789012", "112-233-445 9X", "11223344595"]
|
||||
)
|
||||
@pytest.mark.parametrize("bad", ["", "1234567890", "123456789012", "112-233-445 9X", "11223344595"])
|
||||
def test_pseudo_id_rejects_invalid_snils(bad: str) -> None:
|
||||
with pytest.raises(ValueError):
|
||||
pseudo_id(bad, key=KEY)
|
||||
|
||||
Reference in New Issue
Block a user