#!/usr/bin/env python3
"""Test if blueprints can be imported successfully"""

import sys
import os
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))

try:
    from routes.auth_routes import auth_bp
    print("✓ auth_routes blueprint imported successfully")
    print(f"  Routes: {[str(r) for r in auth_bp.url_values_defaults]}")
except Exception as e:
    print(f"✗ Error importing auth_routes: {e}")

try:
    from routes.admin_routes import admin_bp
    print("✓ admin_routes blueprint imported successfully")
except Exception as e:
    print(f"✗ Error importing admin_routes: {e}")

print("\nBlueprints are ready to use!")