You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
552 B
Python
17 lines
552 B
Python
from pathlib import Path
|
|
import sys
|
|
|
|
|
|
PROJECT_ROOT = Path(__file__).resolve().parents[1]
|
|
if str(PROJECT_ROOT) not in sys.path:
|
|
sys.path.insert(0, str(PROJECT_ROOT))
|
|
|
|
from decision_logger import TrackingDecisionLogger
|
|
|
|
|
|
def test_decision_logger_contains_handoff_fields():
|
|
assert "stale_lock_active" in TrackingDecisionLogger.FIELDNAMES
|
|
assert "stale_lock_reason" in TrackingDecisionLogger.FIELDNAMES
|
|
assert "fast_handoff_active" in TrackingDecisionLogger.FIELDNAMES
|
|
assert "guidance_reset_event" in TrackingDecisionLogger.FIELDNAMES
|