WIP fase 2b-3: rimozione sottosistemi solo-ChatGPT (plugin remoti, image gen, daybreak, cyber, attestation, cloud config, app/connettori) - test in corso
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#![allow(clippy::unwrap_used)]
|
||||
|
||||
use anyhow::Result;
|
||||
use codex_config::test_support::CloudConfigBundleFixture;
|
||||
use codex_config::test_support::ManagedConfigFixture;
|
||||
use codex_core::EnvironmentConfig;
|
||||
use codex_core::TurnInputRequest;
|
||||
use codex_core::config::Constrained;
|
||||
@@ -718,7 +718,7 @@ async fn inherited_policy_allows_remembered_commands_and_enforces_managed_denial
|
||||
skip_if_target_windows!(Ok(()), "uses POSIX touch");
|
||||
let server = start_mock_server().await;
|
||||
let test = test_codex()
|
||||
.with_cloud_config_bundle(CloudConfigBundleFixture::loader_with_enterprise_requirement(
|
||||
.with_managed_config(ManagedConfigFixture::requirements(
|
||||
r#"[rules]
|
||||
prefix_rules = [{ pattern = [{ token = "touch" }, { token = "denied-ma\u0301rker" }], canonical_matching = true, decision = "forbidden" }]"#,
|
||||
))
|
||||
@@ -803,8 +803,8 @@ async fn malformed_custom_rules_preserve_managed_forbidden_prefix() -> Result<()
|
||||
);
|
||||
|
||||
let mut builder = test_codex()
|
||||
.with_cloud_config_bundle(
|
||||
CloudConfigBundleFixture::loader_with_enterprise_requirement(
|
||||
.with_managed_config(
|
||||
ManagedConfigFixture::requirements(
|
||||
r#"
|
||||
[rules]
|
||||
prefix_rules = [
|
||||
|
||||
Reference in New Issue
Block a user