MAS-WP-0005-T07: v0.2 draft bundle; mas_core accepts v0.1 and v0.2 statutes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: opus Assistant-Process: 252470@bnt-lap001 Assistant-Session: ad628c8f-4be2-4979-94c9-76c7ed6f8241
This commit is contained in:
parent
3709fbb54b
commit
a12e1c4370
17 changed files with 1814 additions and 20 deletions
|
|
@ -132,3 +132,9 @@ def test_received_quoted_non_mas_stays_invalid(raw):
|
|||
def test_canonical_parser_still_rejects_quotes():
|
||||
with pytest.raises(MasSyntaxError):
|
||||
parse_address('"ticket=PR42"@example.com')
|
||||
|
||||
|
||||
def test_vendored_v02_schema_matches_draft_bundle():
|
||||
a = (ROOT / "mas-v0.2-spec/schema/mas-statute-v0.2.schema.json").read_bytes()
|
||||
b = (ROOT / "mas_core/schema/mas-statute-v0.2.schema.json").read_bytes()
|
||||
assert a == b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue