mirror of
https://github.com/openai/codex.git
synced 2026-11-29 07:35:16 +00:00
Remove stale ignored core tests (#33868)
## What changed - Remove the ignored explorer-role test for role-specific model and reasoning defaults. - Remove two ignored unified exec tests for timeout capping and completed-session cleanup. GitOrigin-RevId: 39386546c7628c2e1cf713139cd09fd0bf172700
This commit is contained in:
1 parent
1b025cba72
commit
771d9d7d26
2 files changed
-76
No files matched your search
@@ -71,21 +71,6 @@ async fn apply_role_returns_error_for_unknown_role() {
|
||||
assert_eq!(err, "unknown agent_type 'missing-role'");
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "No role requiring it for now"]
|
||||
async fn apply_explorer_role_sets_model_and_adds_session_flags_layer() {
|
||||
let (_home, mut config) = test_config_with_cli_overrides(Vec::new()).await;
|
||||
let before_layers = session_flags_layer_count(&config);
|
||||
|
||||
apply_role_to_config(&mut config, Some("explorer"))
|
||||
.await
|
||||
.expect("explorer role should apply");
|
||||
|
||||
assert_eq!(config.model.as_deref(), Some("gpt-5.4-mini"));
|
||||
assert_eq!(config.model_reasoning_effort, Some(ReasoningEffort::Medium));
|
||||
assert_eq!(session_flags_layer_count(&config), before_layers + 1);
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn apply_empty_explorer_role_preserves_current_model_and_reasoning_effort() {
|
||||
let (_home, mut config) = test_config_with_cli_overrides(Vec::new()).await;
|
||||
|
||||
Reference in new issue
Block a user