test(flow): pass show=False in test_flow_plotting to not open a browser

flow.plot defaults to show=True, which calls webbrowser.open on every run.
The test only asserts FlowPlotEvent is emitted, so disable the browser open.
This commit is contained in:
Greyson LaLonde
2026-06-10 20:36:14 -07:00
committed by GitHub
parent 243c9edc1c
commit 5267c059f5

View File

@@ -1040,7 +1040,7 @@ def test_flow_plotting():
received_events.append(event)
event_received.set()
flow.plot("test_flow")
flow.plot("test_flow", show=False)
assert event_received.wait(timeout=5), "Timeout waiting for plot event"
assert len(received_events) == 1