Skip to content

Commit 03a0228

Browse files
nhortonclaude
andauthored
fix: add traceability comment to test_returns_both_named_and_anonymous (#336)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 77a4048 commit 03a0228

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/unit/deepschema/test_matcher.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ def test_skips_anonymous_schema_with_parse_error(self, tmp_path: Path) -> None:
133133
result = get_schemas_for_file_fast("src/app.py", tmp_path)
134134
assert result == []
135135

136+
# THIS TEST VALIDATES A HARD REQUIREMENT (DW-REQ-011.6).
137+
# YOU MUST NOT MODIFY THIS TEST UNLESS THE REQUIREMENT CHANGES
136138
def test_returns_both_named_and_anonymous(self, tmp_path: Path) -> None:
137139
"""When both a named and anonymous schema apply, both are returned."""
138140
# Named schema matching *.yml files

0 commit comments

Comments
 (0)