Skip to content

Commit b683c17

Browse files
committed
sandbox not callable
1 parent a01968d commit b683c17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/tests/sync/test_basic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ def test_basic(sandbox: Sandbox):
99

1010

1111
@pytest.mark.skip_debug
12-
def test_secure_access(sandbox):
13-
sandbox = sandbox(network={"allow_public_traffic": False})
12+
def test_secure_access(sandbox_factory):
13+
sandbox = sandbox_factory(secure=True, network={"allow_public_traffic": False})
1414
# Create sandbox with public traffic disabled (secure access)
1515
result = sandbox.run_code("x =1; x")
1616
assert result.text == "1"

0 commit comments

Comments
 (0)