#!/usr/bin/env python3
"""
Quick test to verify analytics module imports correctly.
"""
import sys
sys.path.insert(0, '/opt/docker/dev/service_finder/backend')

try:
    from app.api.v1.endpoints.analytics import router
    print("✓ Analytics router imported successfully")
    print(f"Router prefix: {router.prefix}")
    print(f"Router tags: {router.tags}")
except ImportError as e:
    print(f"✗ Import error: {e}")
    sys.exit(1)
except Exception as e:
    print(f"✗ Unexpected error: {e}")
    sys.exit(1)

# Try importing schemas
try:
    from app.schemas.analytics import TCOSummaryResponse
    print("✓ Analytics schemas imported successfully")
except ImportError as e:
    print(f"✗ Schemas import error: {e}")
    sys.exit(1)

print("All imports passed.")