# 복사해서 사용: cp config.test.toml.example config.test.toml # 실제 config.test.toml 은 커밋하지 않는다(.gitignore: *.toml). # # ★ 이 파일이 없으면 `.venv/bin/pytest` 가 conftest import 단계에서 죽는다 # (server_configs 가 config..toml 을 읽는다). 그래서 템플릿을 둔다. # ★ DB 이름을 dev 와 절대 같게 두지 말 것 — 픽스처가 TRUNCATE 를 돌린다. # conftest 의 안전가드가 이름을 확인하지만, 여기서부터 갈라 두는 게 먼저다. [WebServerConfig] server_name = "O2oSiteServerTest" port = 9800 process_count = 1 is_ssl = false is_test = true client_url = "http://localhost:3000" landing_url = "" [LogConfig] print_console = false log_level = "warning" [MainDBConfig] db_type = "postgresql" name = "web4ai_test_db" # ★ dev(web4ai_db)와 다른 DB. 픽스처가 매번 지웠다 만든다 write_host = "127.0.0.1" write_port = 5432 write_id = "postgres" write_pw = "password" read_host = "127.0.0.1" read_port = 5432 read_id = "postgres" read_pw = "password" show_log = false pool_size = 5 max_overflow = 10 sslmode = "" [JwtToken] access_key = "test-access-key-not-a-secret" refresh_key = "test-refresh-key-not-a-secret" access_expire_min = 30 refresh_expire_day = 7 # ★ 전부 빈값으로 둔다. APP_ENV=test 는 .env 를 읽지 않는데(실키가 테스트로 새는 경로 차단), # 여기에 실키를 적으면 그 차단을 우회해 외부 API 요금이 나간다. [ExternalApiConfig] perplexity_api_key = "" kakao_rest_api_key = "" naver_client_id = "" naver_client_secret = "" gemini_api_key = "" tour_api_key = ""