1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-23 02:29:10 +00:00

chore(tests): remove test_passphrase_cached

This commit is contained in:
M1nd3r 2025-03-28 16:44:37 +01:00
parent 90632199e9
commit 49bb88ecee

View File

@ -487,23 +487,3 @@ def test_unlocked(client: Client):
with client:
client.set_expected_responses([messages.Address])
_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)