generated from john/python-template
v5.0 Introduce centralized homepage & portrait photo management
Quality Gate / gate (push) Failing after 11s
Quality Gate / gate (push) Failing after 11s
This commit is contained in:
@@ -167,7 +167,6 @@ def test_env_example_default_values_match_settings_defaults():
|
||||
"SQLITE_CHECK_SAME_THREAD": str(defaults.sqlite_check_same_thread).lower(),
|
||||
"UPLOAD_DIR": str(defaults.upload_dir),
|
||||
"PROMPT_DIR": str(defaults.prompt_dir),
|
||||
"HOMEPAGE_DIR": str(defaults.homepage_dir),
|
||||
"DATABASE_BACKUP_DIR": str(defaults.database_backup_dir),
|
||||
"WORKER_MAX_RETRIES": str(defaults.worker_max_retries),
|
||||
"WORKER_PROVIDER_TIMEOUT_SECONDS": str(defaults.worker_provider_timeout_seconds),
|
||||
@@ -176,7 +175,7 @@ def test_env_example_default_values_match_settings_defaults():
|
||||
"WORKER_FAIL_ON_FINISH_REASON_LENGTH": str(defaults.worker_fail_on_finish_reason_length).lower(),
|
||||
}
|
||||
active = _active_env_example_values()
|
||||
path_like_keys = {"LOG_DIR", "UPLOAD_DIR", "PROMPT_DIR", "HOMEPAGE_DIR", "DATABASE_BACKUP_DIR"}
|
||||
path_like_keys = {"LOG_DIR", "UPLOAD_DIR", "PROMPT_DIR", "DATABASE_BACKUP_DIR"}
|
||||
mismatches = {
|
||||
key: {
|
||||
"expected": _normalize_env_path_value(expected_value) if key in path_like_keys else expected_value,
|
||||
|
||||
Reference in New Issue
Block a user