mk4 HSM allowed; skip HSM test for Q
This commit is contained in:
parent
b259c01dcf
commit
b810fbd98f
@ -90,7 +90,7 @@ def probe_system():
|
||||
has_battery = False
|
||||
has_qwerty = False
|
||||
is_edge = False
|
||||
supports_hsm = False
|
||||
supports_hsm = True
|
||||
has_nfc = True
|
||||
|
||||
cpuid = ckcc.get_cpu_id()
|
||||
|
||||
@ -114,7 +114,7 @@ def compute_policy_hash(policy):
|
||||
return b2a_hex(sha256(json_.encode()).digest()).decode()
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def enable_hsm_commands(dev, sim_exec):
|
||||
def enable_hsm_commands(dev, sim_exec, only_mk4):
|
||||
cmd = 'from glob import settings; settings.set("hsmcmd", 1)'
|
||||
sim_exec(cmd)
|
||||
yield
|
||||
|
||||
Loading…
Reference in New Issue
Block a user