chore(tech-debt): Finalize gui_2.py cleanup and test suite discipline

This commit is contained in:
2026-03-02 21:43:56 -05:00
parent 8af1bcd960
commit a569f8c02f
26 changed files with 58 additions and 364 deletions

View File

@@ -8,22 +8,6 @@ from ai_client import _add_bleed_derived, get_history_bleed_stats
from gui_2 import App
@pytest.fixture
def app_instance() -> Generator[App, None, None]:
with (
patch('gui_2.load_config', return_value={'gui': {'show_windows': {}}}),
patch('gui_2.save_config'),
patch('gui_2.project_manager'),
patch('gui_2.session_logger'),
patch('gui_2.immapp.run'),
patch.object(App, '_load_active_project'),
patch.object(App, '_fetch_models'),
patch.object(App, '_load_fonts'),
patch.object(App, '_post_init')
):
yield App()
# --- _add_bleed_derived unit tests ---
def test_add_bleed_derived_aliases() -> None: