This commit is contained in:
2026-03-05 17:13:59 -05:00
parent d4923c5198
commit fd36aad539
11 changed files with 48 additions and 48 deletions

View File

@@ -56,7 +56,7 @@ class TestMMADashboardStreams:
app = _make_app(mma_streams={"Tier 1": "hello"})
imgui_mock = _make_imgui_mock()
imgui_mock.begin_child.return_value = True
with patch("gui_2.imgui", imgui_mock):
with patch("src.gui_2.imgui", imgui_mock):
App._render_tier_stream_panel(app, "Tier 1", "Tier 1")
text_wrapped_args = " ".join(str(c) for c in imgui_mock.text_wrapped.call_args_list)
assert "hello" in text_wrapped_args, "text_wrapped not called with stream content 'hello'"
@@ -69,7 +69,7 @@ class TestMMADashboardStreams:
})
imgui_mock = _make_imgui_mock()
imgui_mock.begin_child.return_value = True
with patch("gui_2.imgui", imgui_mock):
with patch("src.gui_2.imgui", imgui_mock):
App._render_tier_stream_panel(app, "Tier 3", None)
text_args = " ".join(str(c) for c in imgui_mock.text.call_args_list)
assert "T-001" in text_args, "imgui.text not called with 'T-001' worker sub-header"