From 85c4fcc96fb731e623f344f35dd9b9a08300c409 Mon Sep 17 00:00:00 2001 From: Reinier Criel Date: Fri, 5 Dec 2025 09:39:51 -0800 Subject: [PATCH] Make sure e2e test clears cache --- test/e2e/safe-chain-cli-python.e2e.spec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/e2e/safe-chain-cli-python.e2e.spec.js b/test/e2e/safe-chain-cli-python.e2e.spec.js index 5c84945..fa1bfdf 100644 --- a/test/e2e/safe-chain-cli-python.e2e.spec.js +++ b/test/e2e/safe-chain-cli-python.e2e.spec.js @@ -14,6 +14,10 @@ describe("E2E: safe-chain CLI python/pip support", () => { await container.start(); // Note: We do NOT run 'safe-chain setup' here. // We want to test the 'safe-chain' CLI command directly. + + // Clear pip cache before each test to ensure fresh downloads through proxy + const shell = await container.openShell("zsh"); + await shell.runCommand("pip3 cache purge"); }); afterEach(async () => {