Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythonPackages.trezor: fix typo (pyarg vs pyargs) #67881

Merged
merged 1 commit into from
Sep 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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