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.
This commit is contained in:
parent
405c51002a
commit
86d6a63e48
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user