1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 03:18:20 +00:00

fix style

This commit is contained in:
Pavol Rusnak 2018-10-23 15:30:31 +02:00
parent 45265cdcb7
commit 57f1dddc2f
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 2 additions and 3 deletions

View File

@ -142,7 +142,7 @@ class TestMsgGetaddress(TrezorTest):
node = btc.get_public_node(self.client, parse_path("44'/0'/%d'" % n)) node = btc.get_public_node(self.client, parse_path("44'/0'/%d'" % n))
xpubs.append(node.xpub) xpubs.append(node.xpub)
for nr in range(1, 4): for nr in range(1, 4):
with pytest.raises(CallException) as exc: with pytest.raises(CallException):
btc.get_address( btc.get_address(
self.client, self.client,
"Bitcoin", "Bitcoin",
@ -150,7 +150,7 @@ class TestMsgGetaddress(TrezorTest):
show_display=(nr == 1), show_display=(nr == 1),
multisig=getmultisig(0, 0, xpubs=xpubs), multisig=getmultisig(0, 0, xpubs=xpubs),
) )
with pytest.raises(CallException) as exc: with pytest.raises(CallException):
btc.get_address( btc.get_address(
self.client, self.client,
"Bitcoin", "Bitcoin",

View File

@ -54,7 +54,6 @@ from trezorlib import messages as proto, stellar
from trezorlib.tools import parse_path from trezorlib.tools import parse_path
from .common import TrezorTest from .common import TrezorTest
from .conftest import TREZOR_VERSION
@pytest.mark.stellar @pytest.mark.stellar