fix: correct import path for get_base_branch_from_metadata in test
The function is imported from prompts_pkg.prompts, not cli.build_commands. Fixed the patch path in test_with_base_branch_from_metadata.
This commit is contained in:
@@ -492,7 +492,7 @@ class TestHandleBuildCommand:
|
||||
) as mock_run_agent, patch(
|
||||
"qa_loop.should_run_qa", return_value=False
|
||||
), patch(
|
||||
"cli.build_commands.get_base_branch_from_metadata",
|
||||
"prompts_pkg.prompts.get_base_branch_from_metadata",
|
||||
return_value="develop",
|
||||
), patch(
|
||||
"cli.build_commands.WorkspaceMode"
|
||||
|
||||
Reference in New Issue
Block a user