diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/networking/mitmproxy/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/networking/mitmproxy/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/tools/networking/mitmproxy/default.nix b/nixpkgs/pkgs/tools/networking/mitmproxy/default.nix index a9758e5fd471..53369baa01c8 100644 --- a/nixpkgs/pkgs/tools/networking/mitmproxy/default.nix +++ b/nixpkgs/pkgs/tools/networking/mitmproxy/default.nix @@ -52,10 +52,12 @@ buildPythonPackage rec { doCheck = (!stdenv.isDarwin); + # examples.complex.xss_scanner doesn't import correctly with pytest5 checkPhase = '' export HOME=$(mktemp -d) export LC_CTYPE=en_US.UTF-8 - pytest -k 'not test_find_unclaimed_URLs and not test_tcp' + pytest --ignore test/examples \ + -k 'not test_find_unclaimed_URLs and not test_tcp' ''; propagatedBuildInputs = [ |