fix graph and white background added

This commit is contained in:
Ayzen
2026-10-15 14:46:06 +03:00
parent 5102ed751c
commit 9a9b8ce5c7
35 changed files with 730 additions and 463 deletions
@@ -129,8 +129,9 @@ class ReviewGuiRegressions(unittest.TestCase):
pipeline, supervisor = pipeline_fixture(self)
pipeline.should_run = True
supervisor.pids.return_value = dict.fromkeys(("acquisition", "data_preprocessor", "data_processor"), 1)
with mock.patch.object(pipeline, "read_results", return_value=ResultCollection(1, 2)), \
mock.patch.object(pipeline.plots, "draw", side_effect=ValueError("bad display")), \
results = iter([ResultCollection(1, 2), None, ResultCollection(2, 3)])
pipeline._result_reader = mock.Mock(pop_result_collection=lambda: next(results, None))
with mock.patch.object(pipeline.plots, "draw", side_effect=ValueError("bad display")), \
mock.patch.object(pipeline, "stop_all") as stop, \
self.assertLogs("python_app.gui.controllers.pipeline_controller", "ERROR") as logs:
pipeline.poll()