mirror of
https://github.com/openai/codex.git
synced 2026-04-26 23:55:25 +00:00
Fix stale quickstart integration assertion (#15677)
TL;DR: update the quickstart integration assertion to match the current example output. - replace the stale `Status:` expectation for `01_quickstart_constructor` with `Server:`, `Items:`, and `Text:` - keep the existing guard against `Server: unknown`
This commit is contained in:
@@ -505,7 +505,7 @@ def test_real_examples_run_and_assert(
|
||||
out = result.stdout
|
||||
|
||||
if folder == "01_quickstart_constructor":
|
||||
assert "Status:" in out and "Text:" in out
|
||||
assert "Server:" in out and "Items:" in out and "Text:" in out
|
||||
assert "Server: unknown" not in out
|
||||
elif folder == "02_turn_run":
|
||||
assert "thread_id:" in out and "turn_id:" in out and "status:" in out
|
||||
|
||||
Reference in New Issue
Block a user