mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Extend test
This commit is contained in:
parent
032fc3847f
commit
dd2894faab
1 changed files with 8 additions and 0 deletions
|
|
@ -287,4 +287,12 @@ describe("E2E: pip coverage", () => {
|
||||||
`Should not have SSL/certificate errors for tunneled hosts. Output was:\n${result.output}`
|
`Should not have SSL/certificate errors for tunneled hosts. Output was:\n${result.output}`
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it(`pip3 install requests with --safe-chain-logging=verbose`, async () => {
|
||||||
|
const shell = await container.openShell("zsh");
|
||||||
|
const result = await shell.runCommand(
|
||||||
|
"pip3 install --break-system-packages requests --safe-chain-logging=verbose"
|
||||||
|
);
|
||||||
|
assert.ok(result.output.includes("no malware found."), `Output did not include expected text. Output was:\n${result.output}`);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue