3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.auth0-python: fix tests

This commit is contained in:
Jonathan Ringer 2020-06-16 13:39:28 -07:00
parent 8db288ee06
commit 625653c36d

View file

@ -3,6 +3,7 @@
, fetchPypi
, requests
, mock
, pytestCheckHook
}:
buildPythonPackage rec {
@ -20,6 +21,17 @@ buildPythonPackage rec {
checkInputs = [
mock
pytestCheckHook
];
pytestFlagsArray = [
# jwt package is not available in nixpkgs
"--ignore=auth0/v3/test/authentication/test_token_verifier.py"
];
# tries to ping websites (e.g. google.com)
disabledTests = [
"can_timeout"
];
meta = with lib; {