mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-31 09:50:58 +00:00
temp: fix device tests test_protection_levels by removing session.end call
[no changelog]
This commit is contained in:
parent
6b7abd7f8a
commit
c276560b86
@ -65,7 +65,7 @@ def _assert_protection(
|
|||||||
if session.protocol_version == ProtocolVersion.PROTOCOL_V2:
|
if session.protocol_version == ProtocolVersion.PROTOCOL_V2:
|
||||||
new_session = session.client.get_session()
|
new_session = session.client.get_session()
|
||||||
session.lock()
|
session.lock()
|
||||||
session.end()
|
# session.end()
|
||||||
if session.protocol_version == ProtocolVersion.PROTOCOL_V1:
|
if session.protocol_version == ProtocolVersion.PROTOCOL_V1:
|
||||||
new_session = session.client.get_session()
|
new_session = session.client.get_session()
|
||||||
return Session(new_session)
|
return Session(new_session)
|
||||||
|
Loading…
Reference in New Issue
Block a user