(self)
| 793 | assert result.output["integration"] == "gemini" |
| 794 | |
| 795 | def test_step_override_model(self): |
| 796 | from unittest.mock import patch |
| 797 | from specify_cli.workflows.steps.command import CommandStep |
| 798 | from specify_cli.workflows.base import StepContext |
| 799 | |
| 800 | step = CommandStep() |
| 801 | ctx = StepContext(default_model="sonnet-4") |
| 802 | config = { |
| 803 | "id": "test", |
| 804 | "command": "speckit.implement", |
| 805 | "model": "opus-4", |
| 806 | "input": {}, |
| 807 | } |
| 808 | with patch("specify_cli.workflows.steps.command.shutil.which", return_value=None): |
| 809 | result = step.execute(config, ctx) |
| 810 | assert result.output["model"] == "opus-4" |
| 811 | |
| 812 | def test_options_merge(self): |
| 813 | from unittest.mock import patch |
nothing calls this directly
no test coverage detected