(self)
| 776 | assert any("missing 'command'" in e for e in errors) |
| 777 | |
| 778 | def test_step_override_integration(self): |
| 779 | from unittest.mock import patch |
| 780 | from specify_cli.workflows.steps.command import CommandStep |
| 781 | from specify_cli.workflows.base import StepContext |
| 782 | |
| 783 | step = CommandStep() |
| 784 | ctx = StepContext(default_integration="claude") |
| 785 | config = { |
| 786 | "id": "test", |
| 787 | "command": "speckit.plan", |
| 788 | "integration": "gemini", |
| 789 | "input": {}, |
| 790 | } |
| 791 | with patch("specify_cli.workflows.steps.command.shutil.which", return_value=None): |
| 792 | result = step.execute(config, ctx) |
| 793 | assert result.output["integration"] == "gemini" |
| 794 | |
| 795 | def test_step_override_model(self): |
| 796 | from unittest.mock import patch |
nothing calls this directly
no test coverage detected