Skip to content

Commit 457171b

Browse files
committed
fix: strengthen --no-git deprecation test assertions
Add assertions unique to the --no-git message ('will be removed', 'git extension will no longer be enabled by default') to prevent false positives from the --ai deprecation panel.
1 parent e55bd2f commit 457171b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/integrations/test_cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,8 @@ def test_no_git_emits_deprecation_warning(self, tmp_path):
470470
assert "deprecated" in normalized_output
471471
assert "0.10.0" in normalized_output
472472
assert "specify extension" in normalized_output
473+
assert "will be removed" in normalized_output
474+
assert "git extension will no longer be enabled by default" in normalized_output
473475

474476
def test_git_extension_commands_registered(self, tmp_path):
475477
"""Git extension commands are registered with the agent during init."""

0 commit comments

Comments
 (0)