fix(tests): Fix remaining patch paths in test_mma_orchestration_gui
This commit is contained in:
@@ -32,13 +32,13 @@ def test_cb_plan_epic_launches_thread(app_instance: App) -> None:
|
||||
app_instance.active_project_path = "test_project.toml"
|
||||
mock_tracks = [{"id": "track_1", "title": "Test Track"}]
|
||||
with (
|
||||
patch('orchestrator_pm.get_track_history_summary', return_value="History summary") as mock_get_history,
|
||||
patch('orchestrator_pm.generate_tracks', return_value=mock_tracks) as mock_gen_tracks,
|
||||
patch('aggregate.build_file_items', return_value=[])):
|
||||
patch('src.orchestrator_pm.get_track_history_summary', return_value="History summary") as mock_get_history,
|
||||
patch('src.orchestrator_pm.generate_tracks', return_value=mock_tracks) as mock_gen_tracks,
|
||||
patch('src.aggregate.build_file_items', return_value=[])):
|
||||
# We need to mock project_manager.flat_config and project_manager.load_project
|
||||
with (
|
||||
patch('project_manager.load_project', return_value={}),
|
||||
patch('project_manager.flat_config', return_value={})
|
||||
patch('src.project_manager.load_project', return_value={}),
|
||||
patch('src.project_manager.flat_config', return_value={})
|
||||
):
|
||||
app_instance._cb_plan_epic()
|
||||
# Wait for the background thread to finish (it should be quick with mocks)
|
||||
|
||||
Reference in New Issue
Block a user