fix(tests): rename server_thread → _server_thread in test_dry_run_playwright.py
Lines 136-137 referenced undefined 'server_thread' (typo), the module-level global is named '_server_thread'. flake8 F821 failed the build. Verified locally: - flake8 E9/F63/F7/F82: 0 errors - mypy --no-incremental: Success, no issues found in 41 source files - backend/app.py + backend/web.py import OK
This commit is contained in:
@@ -133,8 +133,8 @@ class TestDryRunPlaywright:
|
||||
assert containers[0].status == "running"
|
||||
finally:
|
||||
app.stop()
|
||||
server_thread.join(timeout=30)
|
||||
if server_thread.is_alive():
|
||||
_server_thread.join(timeout=30)
|
||||
if _server_thread.is_alive():
|
||||
logger.warning("App server thread did not stop within 30 seconds")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user