Skip to content

Commit bdb8dee

Browse files
Copilotfermga
andcommitted
test: fix destabilizer telemetry tests for THOL precondition changes
Update fixture to support new THOL requirements: - Enable THOL_ALLOW_ISOLATED for isolated node testing - Disable metabolic mode for isolated tests - Reduce history requirement for telemetry-focused tests Co-authored-by: fermga <203334638+fermga@users.noreply.github.com>
1 parent bfed954 commit bdb8dee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/unit/operators/test_destabilizer_telemetry.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ def nfr_with_validation():
1515
"""Create an NFR node with precondition validation enabled."""
1616
G, node = create_nfr("test", epi=0.3, vf=1.0)
1717
G.graph['VALIDATE_OPERATOR_PRECONDITIONS'] = True
18+
# Enable isolated THOL for telemetry tests
19+
G.graph['THOL_ALLOW_ISOLATED'] = True
20+
G.graph['THOL_METABOLIC_ENABLED'] = False
21+
# Reduce history requirement for telemetry tests
22+
G.graph['THOL_MIN_HISTORY_LENGTH'] = 0
1823
return G, node
1924

2025

0 commit comments

Comments
 (0)