generated from coulomb/repo-seed
Milestone 5 polish
This commit is contained in:
@@ -215,7 +215,12 @@ def test_api_analysis_run_loop(tmp_path):
|
||||
|
||||
filtered_search_response = client.get(
|
||||
"/search",
|
||||
params={"q": "frontend", "status": "indexed"},
|
||||
params={
|
||||
"q": "frontend",
|
||||
"status": "indexed",
|
||||
"ability": "Frontend",
|
||||
"capability": "Frontend Stack",
|
||||
},
|
||||
)
|
||||
assert filtered_search_response.status_code == 200
|
||||
assert filtered_search_response.json()
|
||||
@@ -315,10 +320,17 @@ def test_ui_register_analyze_and_approve_loop(tmp_path):
|
||||
assert search_response.status_code == 200
|
||||
assert "UI Repo" in search_response.text
|
||||
assert "Field" in search_response.text
|
||||
assert "#capability-" in search_response.text or "#ability-" in search_response.text
|
||||
|
||||
filtered_search_response = client.get(
|
||||
"/ui/search",
|
||||
params={"q": "repository", "status": "indexed", "language": "Python"},
|
||||
params={
|
||||
"q": "repository",
|
||||
"status": "indexed",
|
||||
"language": "Python",
|
||||
"ability": "Repository Usefulness",
|
||||
"capability": "Repository",
|
||||
},
|
||||
)
|
||||
assert filtered_search_response.status_code == 200
|
||||
assert "UI Repo" in filtered_search_response.text
|
||||
|
||||
Reference in New Issue
Block a user