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:
@@ -11,8 +11,9 @@ from src.gui_2 import App
|
||||
|
||||
def test_new_hubs_defined_in_show_windows(mock_app: App) -> None:
|
||||
"""
|
||||
Verifies that the new consolidated Hub windows are defined in the App's show_windows.
|
||||
This ensures they will be available in the 'Windows' menu.
|
||||
|
||||
Verifies that the new consolidated Hub windows are defined in the App's show_windows.
|
||||
This ensures they will be available in the 'Windows' menu.
|
||||
"""
|
||||
expected_hubs = [
|
||||
"Project Settings",
|
||||
@@ -25,7 +26,8 @@ def test_new_hubs_defined_in_show_windows(mock_app: App) -> None:
|
||||
|
||||
def test_old_windows_removed_from_gui2(app_instance_simple: Any) -> None:
|
||||
"""
|
||||
Verifies that the old fragmented windows are removed or renamed.
|
||||
|
||||
Verifies that the old fragmented windows are removed or renamed.
|
||||
"""
|
||||
old_tags = [
|
||||
"win_projects", "win_files", "win_screenshots",
|
||||
@@ -51,7 +53,8 @@ def app_instance_simple() -> Any:
|
||||
|
||||
def test_hub_windows_exist_in_gui2(app_instance_simple: Any) -> None:
|
||||
"""
|
||||
Verifies that the new Hub windows are present in the show_windows dictionary.
|
||||
|
||||
Verifies that the new Hub windows are present in the show_windows dictionary.
|
||||
"""
|
||||
hubs = ["Project Settings", "AI Settings", "Discussion Hub", "Operations Hub"]
|
||||
for hub in hubs:
|
||||
@@ -59,7 +62,8 @@ def test_hub_windows_exist_in_gui2(app_instance_simple: Any) -> None:
|
||||
|
||||
def test_indicators_logic_exists(app_instance_simple: Any) -> None:
|
||||
"""
|
||||
Verifies that the status indicators logic exists in the App.
|
||||
|
||||
Verifies that the status indicators logic exists in the App.
|
||||
"""
|
||||
assert hasattr(app_instance_simple, 'ai_status')
|
||||
assert hasattr(app_instance_simple, 'mma_status')
|
||||
assert hasattr(app_instance_simple, 'mma_status')
|
||||
Reference in New Issue
Block a user