From a2e32a14cfefddc21050b3f4980baad2b5a336dd Mon Sep 17 00:00:00 2001 From: Chuck <33324927+ChuckBuilds@users.noreply.github.com> Date: Sat, 3 Oct 2026 22:27:36 -0400 Subject: [PATCH] test: a plugin section saved through /config/main needs no restart Co-Authored-By: Claude Opus 5.5 --- test/web_interface/test_web_process_runs_no_plugin_code.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/web_interface/test_web_process_runs_no_plugin_code.py b/test/web_interface/test_web_process_runs_no_plugin_code.py index 53841f25..5e993d9a 100644 --- a/test/web_interface/test_web_process_runs_no_plugin_code.py +++ b/test/web_interface/test_web_process_runs_no_plugin_code.py @@ -221,7 +221,9 @@ class TestTheWebProcessNeverRunsAPlugin: def test_saving_its_section_through_the_main_config(self, web): body = web.post("/api/v3/config/main", {PLUGIN_ID: {"message": "via main"}}) assert web.stored()["message"] == "via main" - assert body["restart_required"] is True + # The display's config watcher hands the section to the running + # plugin (on_config_change), as for /plugins/config: no restart. + assert body["restart_required"] is False assert web.ran() == [] def test_resetting_its_config(self, web):