(self)
| 990 | assert result.output["dispatched"] is False |
| 991 | |
| 992 | def test_execute_with_step_integration(self): |
| 993 | from unittest.mock import patch |
| 994 | from specify_cli.workflows.steps.prompt import PromptStep |
| 995 | from specify_cli.workflows.base import StepContext |
| 996 | |
| 997 | step = PromptStep() |
| 998 | ctx = StepContext(default_integration="claude") |
| 999 | config = { |
| 1000 | "id": "review", |
| 1001 | "type": "prompt", |
| 1002 | "prompt": "Summarize the codebase", |
| 1003 | "integration": "gemini", |
| 1004 | } |
| 1005 | with patch("specify_cli.workflows.steps.prompt.shutil.which", return_value=None): |
| 1006 | result = step.execute(config, ctx) |
| 1007 | assert result.output["integration"] == "gemini" |
| 1008 | |
| 1009 | def test_execute_with_model(self): |
| 1010 | from unittest.mock import patch |
nothing calls this directly
no test coverage detected