1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-17 01:52:02 +00:00

tests: fix style

This commit is contained in:
Pavol Rusnak 2018-10-22 15:41:27 +02:00
parent 1397c3b4d9
commit 43b7ca4fd6
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
4 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
with import <nixpkgs> {};
let
myPython = python36.withPackages(p: [p.pytest p.black p.isort p.requests p.mnemonic p.construct p.pyblake2 p.mock p.ecdsa p.click p.libusb1 p.protobuf]);
myPython = python36.withPackages(p: [p.pytest p.black p.isort p.flake8 p.requests p.mnemonic p.construct p.pyblake2 p.mock p.ecdsa p.click p.libusb1 p.protobuf]);
in
stdenv.mkDerivation {
name = "python-trezor-dev";

View File

@ -96,7 +96,7 @@ class TestMsgGetaddress(TrezorTest):
xpubs = []
for n in map(
lambda index: btc.get_public_node(
self.client, parse_path("44'/145'/" + str(index) + "'")
self.client, parse_path("44'/145'/%d'" % index)
),
range(1, 4),
):

View File

@ -444,7 +444,7 @@ class TestMsgSigntxBch(TrezorTest):
xpubs = []
for n in map(
lambda index: btc.get_public_node(
self.client, parse_path("44'/145'/" + str(index) + "'")
self.client, parse_path("44'/145'/%d'" % index)
),
range(1, 4),
):
@ -545,7 +545,7 @@ class TestMsgSigntxBch(TrezorTest):
xpubs = []
for n in map(
lambda index: btc.get_public_node(
self.client, parse_path("44'/145'/" + str(index) + "'")
self.client, parse_path("44'/145'/%d'" % index)
),
range(1, 4),
):

View File

@ -234,13 +234,13 @@ class TestMsgSigntxBitcoinGold(TrezorTest):
debug_processor=attack_processor,
)
def test_send_bch_multisig_change(self):
def test_send_btg_multisig_change(self):
self.setup_mnemonic_allallall()
self.client.set_tx_api(TxApiBitcoinGold)
xpubs = []
for n in map(
lambda index: btc.get_public_node(
self.client, parse_path("44'/156'/" + str(index) + "'")
self.client, parse_path("44'/156'/%d'" % index)
),
range(1, 4),
):