From 1c60a33e83c9ef0f69e287c4ba7442871ed96cc1 Mon Sep 17 00:00:00 2001 From: Romulo Quidute Filho Date: Wed, 23 Oct 2024 17:07:48 +0000 Subject: [PATCH] Removed no wanted file changes --- .../api/api_v1/test_test_run_executions.py | 19 ------------------- 1 file changed, 19 deletions(-) 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 b4d829e2..cba0091f 100644 --- a/app/tests/api/api_v1/test_test_run_executions.py +++ b/app/tests/api/api_v1/test_test_run_executions.py @@ -796,25 +796,6 @@ async def test_test_run_execution_start(async_client: AsyncClient, db: Session) assert content["id"] == test_run_execution.id -@pytest.mark.asyncio -async def test_test_run_execution_start_no_pics( - async_client: AsyncClient, db: Session -) -> None: - test_run_execution = create_test_run_execution_with_some_test_cases(db=db, pics={}) - - # First attempt to start test run - response = await async_client.post( - f"{settings.API_V1_STR}/test_run_executions/{test_run_execution.id}/start", - ) - - # Assert 422 UNPROCESSABLE_ENTITY and a detail error message - assert response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY - content = response.json() - assert isinstance(content, dict) - assert "detail" in content.keys() - assert content["detail"] == "No PICS were informed." - - @pytest.mark.asyncio async def test_test_run_execution_busy(async_client: AsyncClient, db: Session) -> None: test_run_execution = create_test_run_execution_with_some_test_cases(db=db)