pythonPackages.auth0-python: fix tests
This commit is contained in:
parent
8db288ee06
commit
625653c36d
@ -3,6 +3,7 @@
|
|||||||
, fetchPypi
|
, fetchPypi
|
||||||
, requests
|
, requests
|
||||||
, mock
|
, mock
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -20,6 +21,17 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
mock
|
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; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user