mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 14:28:07 +00:00
test: fix device test test_authorize_coinjoin
[no changelog]
This commit is contained in:
parent
d6eda55c45
commit
62ee3fe3b1
@ -793,7 +793,7 @@ def test_get_address(session: Session):
|
|||||||
|
|
||||||
def test_multisession_authorization(client: Client):
|
def test_multisession_authorization(client: Client):
|
||||||
# Authorize CoinJoin with www.example1.com in session 1.
|
# Authorize CoinJoin with www.example1.com in session 1.
|
||||||
session1 = client.get_session()
|
session1 = client.get_session(session_id=1)
|
||||||
|
|
||||||
btc.authorize_coinjoin(
|
btc.authorize_coinjoin(
|
||||||
session1,
|
session1,
|
||||||
@ -805,7 +805,7 @@ def test_multisession_authorization(client: Client):
|
|||||||
coin_name="Testnet",
|
coin_name="Testnet",
|
||||||
script_type=messages.InputScriptType.SPENDTAPROOT,
|
script_type=messages.InputScriptType.SPENDTAPROOT,
|
||||||
)
|
)
|
||||||
session2 = client.get_session()
|
session2 = client.get_session(session_id=2)
|
||||||
# Open a second session.
|
# Open a second session.
|
||||||
# session_id1 = session.session_id
|
# session_id1 = session.session_id
|
||||||
# TODO client.init_device(new_session=True)
|
# TODO client.init_device(new_session=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user