pythonPackages.keyrings-alt: disable tests

They heavily rely on the keyring package test suite
This commit is contained in:
Jonathan Ringer 2019-12-21 17:30:49 -08:00 committed by Frederik Rietdijk
parent 310555b281
commit a7d6b1620b

View File

@ -21,10 +21,16 @@ buildPythonPackage rec {
checkInputs = [ pytest keyring ] ++ stdenv.lib.optional (pythonOlder "3.3") backports_unittest-mock;
# heavily relies on importing tests from keyring package
doCheck = false;
checkPhase = ''
py.test
'';
pythonImportsCheck = [
"keyrings.alt"
];
meta = with stdenv.lib; {
license = licenses.mit;
description = "Alternate keyring implementations";