"""Test icon path resolution functionality."""
import pytest
import sys
import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "src"))

def test_icon_path_absolute():
    """Test that icon paths are resolved as absolute paths."""
    from grep_mcp.server import GUIDialogHandler
    handler = GUIDialogHandler()
    # This should not raise an exception
    assert handler is not None
