fix(micromate): fixture metadata separates the measured firmware line from the version
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
This commit is contained in:
1 parent
93349ed040
commit
f47b908a27
9 files changed
+21
-8
No files matched your search
@@ -27,6 +27,8 @@ def test_all_seven_sessions_are_present():
|
||||
def test_every_request_is_a_valid_frame_and_every_response_answers_it(path):
|
||||
doc = json.loads(path.read_text())
|
||||
assert doc["source_sha256"]["bw"] and doc["exchanges"]
|
||||
assert doc["firmware_line"] in {"blastware", "thor"} # measured from response flags
|
||||
assert doc["firmware_version"] # the 09-30 audits' "11.0CB"
|
||||
for ex in doc["exchanges"]:
|
||||
wire = bytes.fromhex(ex["request"])
|
||||
assert request_sub(wire) == ex["sub"]
|
||||
|
||||
Reference in new issue
Block a user