Commit 7025771
test: add assertion for add_server method call in client edit test
- Enhanced test_client_edit_non_interactive_add_server to verify that
client_manager.add_server is called with the correct server configuration
- Added detailed validation of the server config parameters:
- Server name with proper mcpm_ prefix
- Command set to "mcpm"
- Args set to ["run", "test-server"]
- Ensures the add operation is actually triggered as intended
- Provides comprehensive verification of non-interactive add server workflow
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 5ecd958 commit 7025771
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
416 | 417 | | |
417 | 418 | | |
418 | 419 | | |
| |||
434 | 435 | | |
435 | 436 | | |
436 | 437 | | |
437 | | - | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
438 | 448 | | |
439 | 449 | | |
440 | 450 | | |
| |||
0 commit comments