generated from coulomb/repo-seed
Evidence with supportive metadata
This commit is contained in:
@@ -1609,6 +1609,8 @@ def test_ui_manual_registry_entry_loop(tmp_path):
|
||||
assert detail_response.status_code == 200
|
||||
assert "Manual Characteristic Tuning" in detail_response.text
|
||||
assert "Add Capability Support" in detail_response.text
|
||||
assert "Supported characteristic kind" in detail_response.text
|
||||
assert "Reference kind" in detail_response.text
|
||||
|
||||
ability_response = client.post(
|
||||
f"{repository_path}/abilities",
|
||||
@@ -1660,6 +1662,7 @@ def test_ui_manual_registry_entry_loop(tmp_path):
|
||||
"capability_id": str(capability_id),
|
||||
"type": "documentation",
|
||||
"reference": "README.md",
|
||||
"reference_kind": "source",
|
||||
"strength": "medium",
|
||||
},
|
||||
follow_redirects=False,
|
||||
@@ -1671,6 +1674,8 @@ def test_ui_manual_registry_entry_loop(tmp_path):
|
||||
assert "Manual Capability" in detail_response.text
|
||||
assert "Manual API" in detail_response.text
|
||||
assert "README.md" in detail_response.text
|
||||
assert "supports capability" in detail_response.text
|
||||
assert "references source" in detail_response.text
|
||||
assert "ID " in detail_response.text
|
||||
assert "Save Ability" in detail_response.text
|
||||
|
||||
@@ -1719,6 +1724,10 @@ def test_ui_manual_registry_entry_loop(tmp_path):
|
||||
data={
|
||||
"type": "test",
|
||||
"reference": "tests/test_manual.py",
|
||||
"target_kind": "capability",
|
||||
"target_id": str(capability_id),
|
||||
"reference_kind": "feature",
|
||||
"reference_id": str(feature_id),
|
||||
"strength": "strong",
|
||||
},
|
||||
follow_redirects=False,
|
||||
@@ -1730,6 +1739,7 @@ def test_ui_manual_registry_entry_loop(tmp_path):
|
||||
assert "Edited Manual Capability" in detail_response.text
|
||||
assert "Edited Manual API" in detail_response.text
|
||||
assert "tests/test_manual.py" in detail_response.text
|
||||
assert f"references feature #{feature_id}" in detail_response.text
|
||||
|
||||
delete_feature_response = client.post(
|
||||
f"{repository_path}/features/{feature_id}/delete",
|
||||
|
||||
Reference in New Issue
Block a user