forked from mirrors/nixpkgs
pythonPackages.auth0-python: fix tests
This commit is contained in:
parent
8db288ee06
commit
625653c36d
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue