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
+3 -1
View File
@@ -234,7 +234,9 @@ class Sar3dIntegrationTest(unittest.TestCase):
(_collection(_status(2, "fewer than two frequency points")), "error"),
(_collection(_status(1, "No signal in selected depth range")), "no signal"),
(_projections(), "ready — CUDA")):
self.view._pipeline.drain_results = mock.Mock(return_value=result)
# Like the real drain, the recomputed result replaces its sweep in history.
self.view._pipeline.drain_results = mock.Mock(
side_effect=lambda result=result, **_timing: self.view._history.record_result(result))
self.view._live.changed()
self.assertIn(expected, self.renderer.status_label.text())
self.view._log.show_exception.assert_not_called()