fix(tests): test_sprint45 isolation + zh i18n keys + server version string
- test_sprint45.py: compute SETTINGS_FILE lazily via _get_settings_file() so it reads HERMES_WEBUI_TEST_STATE_DIR at call time (not at import time, when conftest hasn't yet set the env var). Fixes test isolation across all 1078 tests. - test_sprint45.py: use auth cookie in teardown when clearing password post-test. - test_sprint45.py: remove test_synced_version_strings (checks local-patch version). - static/i18n.js: add zh missing keys: onboarding_password_will_replace, onboarding_password_keep_existing, onboarding_password_remains_disabled. - server.py: revert server_version to HermesWebUI/0.50.38 (matches master).
This commit is contained in:
@@ -44,7 +44,7 @@ class QuietHTTPServer(ThreadingHTTPServer):
|
||||
|
||||
class Handler(BaseHTTPRequestHandler):
|
||||
timeout = 30 # seconds — kills idle/incomplete connections to prevent thread exhaustion
|
||||
server_version = 'HermesWebUI/0.50.36-local.1'
|
||||
server_version = 'HermesWebUI/0.50.38'
|
||||
def log_message(self, fmt, *args): pass # suppress default Apache-style log
|
||||
|
||||
def log_request(self, code: str='-', size: str='-') -> None:
|
||||
|
||||
Reference in New Issue
Block a user