Skip to content

Commit d55bd3f

Browse files
Update tests/test_edit.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7025771 commit d55bd3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_edit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test_edit_server_not_found(monkeypatch):
2121
monkeypatch.setattr("mcpm.commands.edit.is_non_interactive", lambda: True)
2222

2323
runner = CliRunner()
24-
result = runner.invoke(edit, ["nonexistent", "--name", "newname"]) # Add CLI param to trigger non-interactive
24+
result = runner.invoke(edit, ["nonexistent"]) # Remove CLI parameters to match non-interactive mode
2525

2626
assert result.exit_code == 1
2727
assert "Server 'nonexistent' not found" in result.output

0 commit comments

Comments
 (0)