async def test_analyze_tool_accepts_absolute_paths(self, mock_model):
        """Test that analyze tool accepts absolute paths"""
        tool = AnalyzeTool()

        # Mock the model response
        mock_response = Mock()
        mock_response.candidates = [Mock()]
        mock_response.candidates[0].content.parts = [Mock(text="Analysis complete")]

        mock_instance = Mock()
        mock_instance.generate_content.return_value = mock_response
        mock_model.return_value = mock_instance

        result = await tool.execute({"files": ["/absolute/path/file.py"], "question": "What does this do?"})

        assert len(result) == 1
        response = json.loads(result[0].text)
        assert response["status"] == "success"
        assert "Analysis complete" in response["content"]
Test that analyze tool accepts absolute paths
tests/test_tools.py