refactor(sdm): Global pass with refined 'External Only' SDM tags. Pruned redundant internal references and fixed indentation logic in injector. Verified full project compilation.
This commit is contained in:
@@ -5,6 +5,9 @@ from src.gui_2 import App
|
||||
|
||||
|
||||
def _make_app(**kwargs):
|
||||
"""
|
||||
[C: tests/test_mma_dashboard_streams.py:TestMMADashboardStreams.test_tier1_renders_stream_content, tests/test_mma_dashboard_streams.py:TestMMADashboardStreams.test_tier3_renders_worker_subheaders]
|
||||
"""
|
||||
app = MagicMock()
|
||||
app.mma_streams = kwargs.get("mma_streams", {})
|
||||
app.mma_tier_usage = kwargs.get("mma_tier_usage", {
|
||||
@@ -61,6 +64,9 @@ def _make_app(**kwargs):
|
||||
return app
|
||||
|
||||
def _make_imgui_mock():
|
||||
"""
|
||||
[C: tests/test_mma_dashboard_streams.py:TestMMADashboardStreams.test_tier1_renders_stream_content, tests/test_mma_dashboard_streams.py:TestMMADashboardStreams.test_tier3_renders_worker_subheaders]
|
||||
"""
|
||||
m = MagicMock()
|
||||
m.begin_table.return_value = False
|
||||
m.begin_child.return_value = False
|
||||
@@ -136,4 +142,4 @@ class TestMMAApprovalIndicators:
|
||||
combined = _collect_text_colored_args(imgui_mock)
|
||||
assert "APPROVAL PENDING" in combined, (
|
||||
"text_colored not called with 'APPROVAL PENDING' when _pending_ask_dialog is True"
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user