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:
parent
1397c3b4d9
commit
43b7ca4fd6
@ -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";
|
||||
|
@ -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),
|
||||
):
|
||||
|
@ -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),
|
||||
):
|
||||
|
@ -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),
|
||||
):
|
||||
|
Loading…
Reference in New Issue
Block a user