diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-11-16 22:13:38 -0800 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-11-17 00:14:08 -0800 |
commit | 86d6a63e48801d08bf4b9fe2ab7edfc2c696c20e (patch) | |
tree | 3fd5d11a28d7cce94fe25174761920dd3c0ef4b6 /pkgs | |
parent | 405c51002a0b6c063ae780268426588b35d6399c (diff) | |
download | nixpkgs-86d6a63e48801d08bf4b9fe2ab7edfc2c696c20e.tar nixpkgs-86d6a63e48801d08bf4b9fe2ab7edfc2c696c20e.tar.gz nixpkgs-86d6a63e48801d08bf4b9fe2ab7edfc2c696c20e.tar.bz2 nixpkgs-86d6a63e48801d08bf4b9fe2ab7edfc2c696c20e.tar.lz nixpkgs-86d6a63e48801d08bf4b9fe2ab7edfc2c696c20e.tar.xz nixpkgs-86d6a63e48801d08bf4b9fe2ab7edfc2c696c20e.tar.zst nixpkgs-86d6a63e48801d08bf4b9fe2ab7edfc2c696c20e.zip |
mitmproxy: disable example tests
pytest5 isn't able to load examples.complex.xss_scanner even though a normal interpreter session is able to load it fine.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/networking/mitmproxy/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/networking/mitmproxy/default.nix b/pkgs/tools/networking/mitmproxy/default.nix index a9758e5fd47..53369baa01c 100644 --- a/pkgs/tools/networking/mitmproxy/default.nix +++ b/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 = [ |