diff --git a/tests/unit/mcp/test_mcp_tools.py b/tests/unit/mcp/test_mcp_tools.py index 0064ed9aa..f0a7631e8 100644 --- a/tests/unit/mcp/test_mcp_tools.py +++ b/tests/unit/mcp/test_mcp_tools.py @@ -370,7 +370,9 @@ async def test_mobile_get_device_state_hierarchy_without_ocr(): @pytest.mark.asyncio -async def test_mobile_inspect_trace_invalid_action(): +async def test_mobile_inspect_trace_invalid_action(temp_trace_env): + Path(temp_trace_env, "data_engine.db").touch() + res = await mobile_inspect_trace(action="invalid_action", trace_id="trace-123") assert "error" in res assert "not supported" in res["message"]