kin: KIN-074 Попытка переключить review на auto приводит к 400 ошибке
This commit is contained in:
parent
e4566d51a6
commit
cb099030ce
2 changed files with 569 additions and 0 deletions
|
|
@ -394,6 +394,13 @@ def test_patch_task_execution_mode_auto_rejected(client):
|
|||
assert r.status_code == 400
|
||||
|
||||
|
||||
def test_patch_task_execution_mode_review_accepted(client):
|
||||
"""KIN-074: execution_mode='review' принимается (200) — регрессия после фикса frontend."""
|
||||
r = client.patch("/api/tasks/P1-001", json={"execution_mode": "review"})
|
||||
assert r.status_code == 200
|
||||
assert r.json()["execution_mode"] == "review"
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# KIN-022 — blocked_reason: регрессионные тесты
|
||||
# ---------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue