mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-19 08:39:03 +00:00
fixup! test: update upgrade tests
This commit is contained in:
parent
d1d5679759
commit
7a0f29e26c
@ -382,7 +382,7 @@ def test_upgrade_shamir_backup(gen: str, tag: Optional[str]):
|
||||
|
||||
# Get a passphrase-less and a passphrased address.
|
||||
address = btc.get_address(session, "Bitcoin", PATH)
|
||||
if session.protocol_version == ProtocolVersion.PROTOCOL_V1:
|
||||
if session.protocol_version == ProtocolVersion.V1:
|
||||
session.call(messages.Initialize(new_session=True))
|
||||
new_session = emu.client.get_session(passphrase="TREZOR")
|
||||
address_passphrase = btc.get_address(new_session, "Bitcoin", PATH)
|
||||
|
@ -141,7 +141,7 @@ def test_init_device(emulator: Emulator):
|
||||
btc.get_address(session, "Testnet", parse_path("44h/1h/0h/0/0"))
|
||||
# in TT < 2.3.0 session_id will only be available after PassphraseStateRequest
|
||||
session_id = session.id
|
||||
if session.protocol_version == ProtocolVersion.PROTOCOL_V1:
|
||||
if session.protocol_version == ProtocolVersion.V1:
|
||||
session.call(messages.Initialize(session_id=session_id))
|
||||
btc.get_address(
|
||||
session,
|
||||
|
Loading…
Reference in New Issue
Block a user