Commit 3a040f2
LittleCoinCoin
test(codex): fix Omni model field name in conversion test
Fixed test_codex_from_omni_conversion to use 'headers' instead of
'http_headers' when creating MCPServerConfigOmni instance.
'headers' is the universal field in Omni model that maps to 'http_headers'
in Codex model during conversion. The test was using the wrong field name.
test(codex-cli): fix tests to match Codex STDIO semantics
Updated Codex CLI argument tests to align with official Codex documentation:
- Removed invalid --header usage with STDIO servers (--command)
- HTTP headers only apply to streamable HTTP servers (--url)
- Updated test assertions to match STDIO-only fields
- Fixed test to focus on shared arguments (cwd, tool filtering)
Per Codex docs: STDIO servers don't support http_headers; only used
with URL-based servers for authentication.
test(mcp-cli): update parameter count for configure command
Updated test expectations to match expanded handle_mcp_configure signature
which now has 27 parameters (was 18) after adding Codex-specific arguments.
Tests affected:
- test_configure_argument_parsing_basic
- test_configure_argument_parsing_with_options1 parent 8ebf59f commit 3a040f2
File tree
3 files changed
+13
-17
lines changed- tests
- regression
3 files changed
+13
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
| |||
325 | 326 | | |
326 | 327 | | |
327 | 328 | | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | 329 | | |
332 | 330 | | |
333 | 331 | | |
| |||
342 | 340 | | |
343 | 341 | | |
344 | 342 | | |
345 | | - | |
| 343 | + | |
346 | 344 | | |
347 | 345 | | |
348 | 346 | | |
349 | 347 | | |
350 | 348 | | |
351 | 349 | | |
352 | 350 | | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | 351 | | |
357 | 352 | | |
358 | 353 | | |
| |||
466 | 461 | | |
467 | 462 | | |
468 | 463 | | |
469 | | - | |
| 464 | + | |
470 | 465 | | |
471 | 466 | | |
472 | 467 | | |
| |||
483 | 478 | | |
484 | 479 | | |
485 | 480 | | |
486 | | - | |
487 | 481 | | |
488 | 482 | | |
489 | 483 | | |
490 | 484 | | |
491 | 485 | | |
492 | 486 | | |
493 | 487 | | |
494 | | - | |
| 488 | + | |
495 | 489 | | |
496 | 490 | | |
497 | 491 | | |
498 | | - | |
499 | 492 | | |
500 | 493 | | |
501 | 494 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
73 | | - | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
77 | | - | |
| 79 | + | |
| 80 | + | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
0 commit comments