mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-05-31 13:18:45 +00:00
chore(tests): remove test_passphrase_cached
This commit is contained in:
parent
9972643779
commit
5df0a077cd
@ -486,23 +486,3 @@ def test_unlocked(client: Client):
|
|||||||
with client:
|
with client:
|
||||||
client.set_expected_responses([messages.Address])
|
client.set_expected_responses([messages.Address])
|
||||||
_get_test_address(session)
|
_get_test_address(session)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.setup_client(pin=None, passphrase=True)
|
|
||||||
def test_passphrase_cached(session: Session):
|
|
||||||
client = session.client
|
|
||||||
with client:
|
|
||||||
if client.protocol_version == ProtocolVersion.V1:
|
|
||||||
client.set_expected_responses(
|
|
||||||
[messages.PassphraseRequest, messages.Address]
|
|
||||||
)
|
|
||||||
elif client.protocol_version == ProtocolVersion.V2:
|
|
||||||
client.set_expected_responses([messages.Address])
|
|
||||||
else:
|
|
||||||
raise Exception("Unknown session type")
|
|
||||||
session = _assert_protection(session, pin=False)
|
|
||||||
_get_test_address(session)
|
|
||||||
|
|
||||||
with client:
|
|
||||||
client.set_expected_responses([messages.Address])
|
|
||||||
_get_test_address(session)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user