mirror of
https://github.com/openai/codex.git
synced 2026-09-08 15:50:34 +00:00
Fix unified exec environment id assertion
The test serializes captured request JSON before checking the model-visible environment context, so XML attribute quotes are JSON-escaped in the assertion string. Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -408,7 +408,7 @@ async fn unified_exec_environment_id_targets_non_primary_environment() -> Result
|
||||
"environment list should be visible to the model: {request_text}"
|
||||
);
|
||||
assert!(
|
||||
request_text.contains("id=\"local\""),
|
||||
request_text.contains("id=\\\"local\\\""),
|
||||
"local environment id should be visible to the model: {request_text}"
|
||||
);
|
||||
assert!(
|
||||
|
||||
Reference in New Issue
Block a user