Expose review decision audit metadata
This commit is contained in:
parent
43e7f7138f
commit
5c2262bcf2
7 changed files with 140 additions and 2 deletions
|
|
@ -1038,6 +1038,8 @@ def test_api_analysis_run_loop(tmp_path):
|
|||
decisions_response = client.get(f"/repos/{repository_id}/review-decisions")
|
||||
assert decisions_response.status_code == 200
|
||||
assert decisions_response.json()[0]["action"] == "reject_candidate_ability"
|
||||
assert decisions_response.json()[0]["reviewer_type"] == "human"
|
||||
assert decisions_response.json()[0]["decision_kind"] == "rejected"
|
||||
run_decisions_response = client.get(
|
||||
f"/repos/{repository_id}/analysis-runs/"
|
||||
f"{run['analysis_run']['id']}/review-decisions"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue