pythonPackages.trezor: fix typo (pyarg vs pyargs)

This commit is contained in:
Pavol Rusnak 2019-09-01 13:41:28 +02:00
parent 83d60f72ae
commit a39eb9dda4
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -26,9 +26,6 @@ buildPythonPackage rec {
propagatedBuildInputs = [ typing-extensions protobuf hidapi ecdsa mnemonic requests pyblake2 click construct libusb1 rlp shamir-mnemonic ]; propagatedBuildInputs = [ typing-extensions protobuf hidapi ecdsa mnemonic requests pyblake2 click construct libusb1 rlp shamir-mnemonic ];
# build requires UTF-8 locale
LANG = "en_US.UTF-8";
checkInputs = [ checkInputs = [
pytest pytest
]; ];
@ -36,7 +33,7 @@ buildPythonPackage rec {
# disable test_tx_api.py as it requires being online # disable test_tx_api.py as it requires being online
checkPhase = '' checkPhase = ''
runHook preCheck runHook preCheck
${python.interpreter} -m pytest --pyarg trezorlib.tests.unit_tests --ignore trezorlib/tests/unit_tests/test_tx_api.py ${python.interpreter} -m pytest --pyargs trezorlib.tests.unit_tests --ignore trezorlib/tests/unit_tests/test_tx_api.py
runHook postCheck runHook postCheck
''; '';