+**Live-instance collision**: `tests/test_web_if.py` posts to a hardcoded `http://127.0.0.1:5052`. On a machine that also runs a live Predbat instance bound to that port (e.g. via Docker), the test's POSTs — including `/restart` and mode changes — land on the live instance instead of the test's own web server. Changing `coverage/apps.yaml`'s `web_port` does not help, since the test's client target is hardcoded separately from the server it starts. Check for anything already bound to port 5052 (`docker ps`, `lsof -i :5052`) before running the full or `--quick` suite anywhere a live instance might be running.
0 commit comments