python.pkgs.libagent: enable tests

This commit is contained in:
Joerg Thalheim 2017-11-07 18:00:57 +00:00
parent 8ad6b2e862
commit 05f9a36612

View File

@ -1,5 +1,5 @@
{ stdenv, fetchPypi, buildPythonPackage, ed25519, ecdsa
, semver, keepkey, trezor, mnemonic, ledgerblue, unidecode
, semver, keepkey, trezor, mnemonic, ledgerblue, unidecode, mock, pytest
}:
buildPythonPackage rec {
@ -17,9 +17,13 @@ buildPythonPackage rec {
trezor mnemonic ledgerblue
];
propagatedBuildInputs = [
unidecode
];
propagatedBuildInputs = [ unidecode ];
checkInputs = [ mock pytest ];
checkPhase = ''
py.test libagent/tests
'';
meta = with stdenv.lib; {
description = "Using hardware wallets as SSH/GPG agent";