All checks were successful
Lint / lint (pull_request) Successful in 27s
Add TestActionEndpoints class to test_web_server.py covering: - POST /api/actions/restart-gateway sends SIGUSR1 to gateway PID - 409 when gateway is not running - 500 when os.kill raises a signal error - POST /api/actions/update-hermes returns ok=true on zero exit - ok=false on non-zero exit code with stderr in detail - ok=false on timeout - Both endpoints reject unauthenticated requests All 7 new tests pass (83 total in the file). Refs #961
51 KiB
51 KiB