python3Packages.pycognito: use pytestCheckHook
This commit is contained in:
parent
6759a781c7
commit
32b2eb6730
@ -6,6 +6,7 @@
|
||||
, envs
|
||||
, python-jose
|
||||
, requests
|
||||
, pytestCheckHook
|
||||
, mock
|
||||
, isPy27
|
||||
}:
|
||||
@ -16,7 +17,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pvizeli";
|
||||
repo = "pycognito";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-RJeHPCTuaLN+zB0N0FGt4qrTI6++1ks5iBn64Cx0Psc=";
|
||||
};
|
||||
@ -35,7 +36,13 @@ buildPythonPackage rec {
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
checkInputs = [ mock ];
|
||||
checkInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "tests.py" ];
|
||||
pythonImportsCheck = [ "pycognito" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python class to integrate Boto3's Cognito client so it is easy to login users. With SRP support";
|
||||
|
Loading…
Reference in New Issue
Block a user