fix graph and white background added
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user