mk4 HSM allowed; skip HSM test for Q

This commit is contained in:
scgbckbone 2024-02-08 10:50:49 +01:00 committed by doc-hex
parent b259c01dcf
commit b810fbd98f
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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