Skip to content

Commit 6fe807b

Browse files
authored
fix(test-plan): update legacy control-plane IDs (#483)
Replace remaining legacy control-plane IDs in Nico wiring, comments, and coverage tests so they align with the stable test-plan catalog. Signed-off-by: Alexandre Begnoche <[email protected]>
1 parent ef3e600 commit 6fe807b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

isvctl/configs/providers/nico/config/control-plane.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ tests:
6363
labels: ["control_plane"]
6464
fields: ["account_id", "tests"]
6565
FieldValueCheck:
66-
test_id: "CP-XX-03"
66+
test_id: "CP03-01"
6767
labels: ["control_plane"]
6868
field: "success"
6969
expected: true

isvctl/configs/suites/control-plane.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ tests:
129129
checks:
130130
StepSuccessCheck-delete_access_key:
131131
# No dedicated "delete access key" plan item; access-key lifecycle is
132-
# CP-XX-05 (create) and CP-XX-06 (disable).
132+
# CP05-01 (create) and CP06-01 (disable).
133133
test_id: "N/A"
134134
labels: ["control_plane"]
135135
step: delete_access_key

scripts/tests/test_test_plan_coverage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def test_consistency_errors_allows_cross_domain_and_unknown_prefix() -> None:
7979
"""Cross-domain labels pass; prefixes without a rule are ignored."""
8080
entries = [
8181
{"name": "SgCheck", "labels": ["network", "security"], "test_ids": ["SDN02-05"]},
82-
{"name": "TenantCheck", "labels": ["iam"], "test_ids": ["CP-XX-07"]}, # CP has no rule
82+
{"name": "TenantCheck", "labels": ["iam"], "test_ids": ["CP07-01"]}, # CP has no rule
8383
]
8484
assert test_plan_coverage.consistency_errors(entries) == []
8585

0 commit comments

Comments
 (0)