Skip to content

Commit 62bc04a

Browse files
authored
Fix assertion syntax in test_wave6_assurance_case_bridge
1 parent 475b199 commit 62bc04a

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

tests/test_wave6_assurance_case_bridge.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ def test_assurance_bridge_exports_draft_only_for_ready_gate_and_blackfox() -> No
7272
notes=("Draft assurance export only; not certification.",),
7373
)
7474

75-
assert bundle.status is (
76-
WaveSixAssuranceBridgeStatus.READY_FOR_ASSURANCE_DRAFT_EXPORT
75+
assert (
76+
bundle.status
77+
is WaveSixAssuranceBridgeStatus.READY_FOR_ASSURANCE_DRAFT_EXPORT
7778
)
7879
assert bundle.decision is WaveSixAssuranceBridgeDecision.EXPORT_ASSURANCE_DRAFT_ONLY
7980
assert bundle.ready_for_assurance_draft_export
@@ -98,8 +99,9 @@ def test_assurance_bridge_payload_targets_assurance_runtime_vocabulary() -> None
9899
payload = bundle.canonical_payload()
99100

100101
assert payload["target_runtime"] == "IX-Autonomy-Assurance-Case-Runtime"
101-
assert payload["schema_version"] == (
102-
"ix-cognition-kernel-wave6-assurance-case-bridge-v1"
102+
assert (
103+
payload["schema_version"]
104+
== "ix-cognition-kernel-wave6-assurance-case-bridge-v1"
103105
)
104106
assert payload["decision"] == "export-assurance-draft-only"
105107
assert payload["status"] == "ready-for-assurance-draft-export"

0 commit comments

Comments
 (0)