@@ -309,7 +309,6 @@ def test_config_error_503_matches_llm_error_503_shape(
309309# --- Test retrieve_simple_response ---
310310
311311
312- @pytest .mark .asyncio
313312async def test_retrieve_simple_response_success (
314313 mock_configuration : AppConfig , mock_llm_response : None
315314) -> None :
@@ -320,7 +319,6 @@ async def test_retrieve_simple_response_success(
320319 assert response == "This is a test LLM response."
321320
322321
323- @pytest .mark .asyncio
324322async def test_retrieve_simple_response_empty_output (
325323 mock_configuration : AppConfig , mock_empty_llm_response : None
326324) -> None :
@@ -331,7 +329,6 @@ async def test_retrieve_simple_response_empty_output(
331329 assert response == ""
332330
333331
334- @pytest .mark .asyncio
335332async def test_retrieve_simple_response_api_connection_error (
336333 mock_configuration : AppConfig , mock_api_connection_error : None
337334) -> None :
@@ -384,7 +381,6 @@ def test_get_rh_identity_context_with_empty_values(mocker: MockerFixture) -> Non
384381# --- Test infer_endpoint ---
385382
386383
387- @pytest .mark .asyncio
388384async def test_infer_minimal_request (
389385 mocker : MockerFixture ,
390386 mock_configuration : AppConfig ,
@@ -409,7 +405,6 @@ async def test_infer_minimal_request(
409405 assert check_suid (response .data .request_id )
410406
411407
412- @pytest .mark .asyncio
413408async def test_infer_full_context_request (
414409 mocker : MockerFixture ,
415410 mock_configuration : AppConfig ,
@@ -441,7 +436,6 @@ async def test_infer_full_context_request(
441436 assert response .data .request_id
442437
443438
444- @pytest .mark .asyncio
445439async def test_infer_generates_unique_request_ids (
446440 mocker : MockerFixture ,
447441 mock_configuration : AppConfig ,
@@ -469,7 +463,6 @@ async def test_infer_generates_unique_request_ids(
469463 assert response1 .data .request_id != response2 .data .request_id
470464
471465
472- @pytest .mark .asyncio
473466async def test_infer_api_connection_error_returns_503 (
474467 mocker : MockerFixture ,
475468 mock_configuration : AppConfig ,
@@ -492,7 +485,6 @@ async def test_infer_api_connection_error_returns_503(
492485 assert exc_info .value .status_code == status .HTTP_503_SERVICE_UNAVAILABLE
493486
494487
495- @pytest .mark .asyncio
496488async def test_infer_empty_llm_response_returns_fallback (
497489 mocker : MockerFixture ,
498490 mock_configuration : AppConfig ,
@@ -517,7 +509,6 @@ async def test_infer_empty_llm_response_returns_fallback(
517509# --- Test Splunk integration ---
518510
519511
520- @pytest .mark .asyncio
521512async def test_infer_queues_splunk_event_on_success (
522513 mocker : MockerFixture ,
523514 mock_configuration : AppConfig ,
@@ -542,7 +533,6 @@ async def test_infer_queues_splunk_event_on_success(
542533 assert call_args [0 ][2 ] == "infer_with_llm"
543534
544535
545- @pytest .mark .asyncio
546536async def test_infer_queues_splunk_error_event_on_failure (
547537 mocker : MockerFixture ,
548538 mock_configuration : AppConfig ,
@@ -567,7 +557,6 @@ async def test_infer_queues_splunk_error_event_on_failure(
567557 assert call_args [0 ][2 ] == "infer_error"
568558
569559
570- @pytest .mark .asyncio
571560async def test_infer_splunk_event_includes_rh_identity_context (
572561 mocker : MockerFixture ,
573562 mock_configuration : AppConfig ,
@@ -638,7 +627,6 @@ def _setup_responses_mock_with_capture(
638627 return mock_create
639628
640629
641- @pytest .mark .asyncio
642630async def test_retrieve_simple_response_passes_tools (
643631 mocker : MockerFixture , mock_configuration : AppConfig
644632) -> None :
@@ -660,7 +648,6 @@ async def test_retrieve_simple_response_passes_tools(
660648 assert call_kwargs ["tools" ] == tools
661649
662650
663- @pytest .mark .asyncio
664651async def test_retrieve_simple_response_defaults_to_empty_tools (
665652 mocker : MockerFixture , mock_configuration : AppConfig
666653) -> None :
@@ -674,7 +661,6 @@ async def test_retrieve_simple_response_defaults_to_empty_tools(
674661 assert call_kwargs ["tools" ] == []
675662
676663
677- @pytest .mark .asyncio
678664async def test_infer_endpoint_calls_get_mcp_tools (
679665 mocker : MockerFixture ,
680666 mock_configuration : AppConfig ,
@@ -704,7 +690,6 @@ async def test_infer_endpoint_calls_get_mcp_tools(
704690 )
705691
706692
707- @pytest .mark .asyncio
708693async def test_infer_generic_runtime_error_reraises (
709694 mocker : MockerFixture ,
710695 mock_configuration : AppConfig ,
@@ -725,7 +710,6 @@ async def test_infer_generic_runtime_error_reraises(
725710 )
726711
727712
728- @pytest .mark .asyncio
729713async def test_infer_generic_runtime_error_records_failure (
730714 mocker : MockerFixture ,
731715 mock_configuration : AppConfig ,
0 commit comments