Skip to content

Commit

Permalink
Merge pull request #67881 from prusnak/python-trezor
Browse files Browse the repository at this point in the history
pythonPackages.trezor: fix typo (pyarg vs pyargs)
  • Loading branch information
mmahut committed Sep 1, 2019
2 parents 7264658 + a39eb9d commit 8034573
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkgs/development/python-modules/trezor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,14 @@ buildPythonPackage rec {

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 = [
pytest
];

# disable test_tx_api.py as it requires being online
checkPhase = ''
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
'';

Expand Down

0 comments on commit 8034573

Please sign in to comment.