1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-06 18:26:11 +00:00

temp: fix device tests test_protection_levels by removing session.end call

[no changelog]
This commit is contained in:
M1nd3r 2025-01-08 18:08:39 +01:00
parent 832f065d82
commit 1f82ede3a3

View File

@ -65,7 +65,7 @@ def _assert_protection(
if session.protocol_version == ProtocolVersion.PROTOCOL_V2:
new_session = session.client.get_session()
session.lock()
session.end()
# session.end()
if session.protocol_version == ProtocolVersion.PROTOCOL_V1:
new_session = session.client.get_session()
return Session(new_session)