Skip to content

Commit f39dbec

Browse files
committed
exec/tests: move non_sandbox_test import to function scope in apply_patch tests
1 parent 801f4b3 commit f39dbec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codex-rs/exec/tests/suite/apply_patch.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
use anyhow::Context;
44
use assert_cmd::prelude::*;
55
use codex_core::CODEX_APPLY_PATCH_ARG1;
6-
use core_test_support::non_sandbox_test;
76
use std::fs;
87
use std::process::Command;
98
use tempfile::tempdir;
@@ -45,6 +44,7 @@ fn test_standalone_exec_cli_can_use_apply_patch() -> anyhow::Result<()> {
4544
#[tokio::test(flavor = "multi_thread", worker_threads = 4)]
4645
async fn test_apply_patch_tool() -> anyhow::Result<()> {
4746
use crate::suite::common::run_e2e_exec_test;
47+
use core_test_support::non_sandbox_test;
4848

4949
non_sandbox_test!(result);
5050

@@ -71,6 +71,7 @@ async fn test_apply_patch_tool() -> anyhow::Result<()> {
7171
#[tokio::test(flavor = "multi_thread", worker_threads = 4)]
7272
async fn test_apply_patch_freeform_tool() -> anyhow::Result<()> {
7373
use crate::suite::common::run_e2e_exec_test;
74+
use core_test_support::non_sandbox_test;
7475

7576
non_sandbox_test!(result);
7677

0 commit comments

Comments
 (0)