diff options
Diffstat (limited to 'pkgs/development/python-modules/kbcstorage/default.nix')
-rw-r--r-- | pkgs/development/python-modules/kbcstorage/default.nix | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/kbcstorage/default.nix b/pkgs/development/python-modules/kbcstorage/default.nix index 913b7981edd09..d84ee1994b5b8 100644 --- a/pkgs/development/python-modules/kbcstorage/default.nix +++ b/pkgs/development/python-modules/kbcstorage/default.nix @@ -12,7 +12,7 @@ # tests , responses -, python +, unittestCheckHook }: buildPythonPackage rec { @@ -44,15 +44,10 @@ buildPythonPackage rec { doCheck = false; checkInputs = [ + unittestCheckHook responses ]; - checkPhase = '' - runHook preCheck - ${python.interpreter} -m unittest discover - runHook postCheck - ''; - pythonImportsCheck = [ "kbcstorage" "kbcstorage.buckets" |