Skip to content

Commit fe00432

Browse files
committed
test: verify annotations.yml content contains expected REQ/SVC ids
1 parent 08ffefe commit fe00432

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/e2e/reqstool_python_hatch_plugin/test_build_e2e.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,6 @@ def test_hatch_build_sdist_contains_reqstool_artifacts():
7171
# annotations.yml is generated on disk (not bundled in the tarball)
7272
annotations_file = tmp_project / "build" / "reqstool" / "annotations.yml"
7373
assert annotations_file.exists(), f"annotations.yml not generated at {annotations_file}"
74+
annotations_content = annotations_file.read_text()
75+
assert "REQ_001" in annotations_content, "annotations.yml missing REQ_001"
76+
assert "SVC_001" in annotations_content, "annotations.yml missing SVC_001"

0 commit comments

Comments
 (0)