mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixosTests.mitmproxy: fix certificate location passed to curl
Broken since - https://hydra.nixos.org/build/322094860 (logs missing) - https://hydra.nixos.org/build/323032381 (next run with logs) https://hydra.nixos.org/job/nixos/unstable/nixos.tests.mitmproxy.x86_64-linux/all Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
parent
07cd97c104
commit
852987500b
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ in
|
|||
''
|
||||
def curl(command: str, proxy: bool = False):
|
||||
if proxy:
|
||||
command = "curl --proxy 127.0.0.1:8080 --cacert ~/.mitmproxy/mitmproxy-ca-cert.pem " + command
|
||||
command = "curl --proxy 127.0.0.1:8080 --cacert ~/.mitmproxy/mitmproxy-ca.pem " + command
|
||||
else:
|
||||
command = "curl " + command
|
||||
return machine.succeed(command)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue