Description
A test suite audit identified several tests that always pass regardless of behavior, plus a dead test file:
test_error_handling_middleware_transform_errors — asserts only exc_info.value is not None (always true after pytest.raises)
test_retry_middleware_with_transient_failures — zero assertions, try/except swallows all errors
test_error_handling_middleware_tracks_error_statistics — calls tools on a disconnected client (outside async with), all calls silently fail
test_pydantic_model_with_stringified_json_no_strict — try/except succeeds on both branches, test can never fail
test_path_traversal_blocked — assertions after pytest.raises are dead code (lines after the raising call never execute)
test_run_server.py — entire file (99 lines) is commented out, provides zero coverage
Description
A test suite audit identified several tests that always pass regardless of behavior, plus a dead test file:
test_error_handling_middleware_transform_errors— asserts onlyexc_info.value is not None(always true afterpytest.raises)test_retry_middleware_with_transient_failures— zero assertions, try/except swallows all errorstest_error_handling_middleware_tracks_error_statistics— calls tools on a disconnected client (outsideasync with), all calls silently failtest_pydantic_model_with_stringified_json_no_strict— try/except succeeds on both branches, test can never failtest_path_traversal_blocked— assertions afterpytest.raisesare dead code (lines after the raising call never execute)test_run_server.py— entire file (99 lines) is commented out, provides zero coverage