What's Changed
- Fix hanging tests:
start_healthcheck_server()now returns(server, thread)so tests can properly shut down HTTP servers. Added a pytest fixture for automatic cleanup. - Fix
test_run_mqtt_client: Updated to match the current loop-based shutdown pattern instead of the removedloop_forever()API. - MQTT retain flag: Plate messages are now published with
retain=Trueso the last known plate is available to new MQTT subscribers. - pytest-timeout: Added a 30-second timeout safety net to prevent future test hangs.