diff --git a/tests/integration/test_sandbox_escape.py b/tests/integration/test_sandbox_escape.py index 332ab2e..dcb3329 100644 --- a/tests/integration/test_sandbox_escape.py +++ b/tests/integration/test_sandbox_escape.py @@ -92,9 +92,9 @@ class TestSandboxEscape(unittest.TestCase): "on PATH: curl -sSL https://smolmachines.com/install.sh | sh" ) - # Throwaway "identity file" for the git-gate's `identity` field. - # It need not be a real SSH key: test 5 reaches gitleaks before - # any SSH attempt anyway. + # Throwaway static key for the git-gate fixture. It need not + # be a real SSH key: test 5 reaches gitleaks before any SSH + # attempt anyway. fd, kp = tempfile.mkstemp(prefix="sandbox-test-key.") os.close(fd) cls._key_path = Path(kp) @@ -123,7 +123,10 @@ class TestSandboxEscape(unittest.TestCase): "git-gate": {"repos": { "throwaway": { "url": "ssh://git@unreachable.invalid:22/throwaway.git", - "identity": str(cls._key_path), + "key": { + "provider": "static", + "path": str(cls._key_path), + }, }, }}, }, diff --git a/tests/integration/test_smolmachines_launch.py b/tests/integration/test_smolmachines_launch.py index 2f5606f..741d560 100644 --- a/tests/integration/test_smolmachines_launch.py +++ b/tests/integration/test_smolmachines_launch.py @@ -198,6 +198,7 @@ class TestSmolmachinesLaunch(unittest.TestCase): # connect fails, which is the property chunk 3 will # preserve once egress is actually running. r = self.bottle.exec( + "env -u HTTPS_PROXY -u HTTP_PROXY -u https_proxy -u http_proxy " f"curl -s --show-error --max-time 3 http://{self.plan.bundle_ip}:9099 " "2>&1 || true" )