From 05bc1d384f47a08e509c88e902153528ac8d01f9 Mon Sep 17 00:00:00 2001 From: Romulo Quidute Filho <116586593+rquidute@users.noreply.github.com> Date: Wed, 23 Oct 2024 14:06:40 -0300 Subject: [PATCH] Update app/tests/api/api_v1/test_test_run_executions.py --- app/tests/api/api_v1/test_test_run_executions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tests/api/api_v1/test_test_run_executions.py b/app/tests/api/api_v1/test_test_run_executions.py index ea798a19..b4d829e2 100644 --- a/app/tests/api/api_v1/test_test_run_executions.py +++ b/app/tests/api/api_v1/test_test_run_executions.py @@ -807,7 +807,7 @@ async def test_test_run_execution_start_no_pics( f"{settings.API_V1_STR}/test_run_executions/{test_run_execution.id}/start", ) - # Assert 200 OK and that test run data is returned + # Assert 422 UNPROCESSABLE_ENTITY and a detail error message assert response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY content = response.json() assert isinstance(content, dict)