# -*- coding: utf-8 -*-
"""Flask Blueprint 테스트"""
import wholesale_path
from geoyoung_api import geoyoung_bp, get_geo_session
from sooin_api import sooin_bp, get_sooin_session

print('=== Flask Blueprint 테스트 ===\n')

# Blueprint 확인
print(f'지오영 Blueprint: {geoyoung_bp.name} ({geoyoung_bp.url_prefix})')
print(f'수인약품 Blueprint: {sooin_bp.name} ({sooin_bp.url_prefix})')

# 세션 함수 확인
geo_session = get_geo_session()
sooin_session = get_sooin_session()

print(f'\n지오영 세션: {geo_session}')
print(f'수인약품 세션: {sooin_session}')

# 라우트 확인
print('\n지오영 라우트:')
for rule in geoyoung_bp.deferred_functions:
    print(f'  - {rule}')

print('\n✅ Blueprint 로드 성공!')
