We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a01968d commit b683c17Copy full SHA for b683c17
python/tests/sync/test_basic.py
@@ -9,8 +9,8 @@ def test_basic(sandbox: Sandbox):
9
10
11
@pytest.mark.skip_debug
12
-def test_secure_access(sandbox):
13
- sandbox = sandbox(network={"allow_public_traffic": False})
+def test_secure_access(sandbox_factory):
+ sandbox = sandbox_factory(secure=True, network={"allow_public_traffic": False})
14
# Create sandbox with public traffic disabled (secure access)
15
result = sandbox.run_code("x =1; x")
16
assert result.text == "1"
0 commit comments