Scope as first class root charactaristic

This commit is contained in:
2026-04-29 16:25:24 +02:00
parent eb1513e463
commit 8d6a9f7050
10 changed files with 228 additions and 10 deletions

View File

@@ -1611,6 +1611,21 @@ def test_ui_manual_registry_entry_loop(tmp_path):
assert "Add Capability Support" in detail_response.text
assert "Supported characteristic kind" in detail_response.text
assert "Reference kind" in detail_response.text
assert "Save Scope" in detail_response.text
scope_response = client.post(
f"{repository_path}/scope/edit",
data={
"name": "Manual Repository Scope",
"description": "Root product scope.",
"confidence": "0.91",
},
follow_redirects=False,
)
assert scope_response.status_code == 303
assert client.get(f"/repos/{repository_id}/ability-map").json()["scope"][
"name"
] == "Manual Repository Scope"
ability_response = client.post(
f"{repository_path}/abilities",