diff --git a/tests/test_service_bind_lane.py b/tests/test_service_bind_lane.py index 013cb3b..ff406e2 100644 --- a/tests/test_service_bind_lane.py +++ b/tests/test_service_bind_lane.py @@ -75,7 +75,8 @@ def lane(tmp_path, monkeypatch): (platform / 'scripts').mkdir() shutil.copy(PLATFORM / 'scripts/credential-change.py', platform / 'scripts/credential-change.py') shutil.copy(PLATFORM / 'openbao/policies/net-kingdom-svc-provisioner-bind-eso.hcl', platform / 'openbao/policies/') - ccr = json.loads((PLATFORM / 'credential-change-requests' / CCR).read_text()) + import yaml + ccr = yaml.safe_load((PLATFORM / 'credential-change-requests' / CCR).read_text()) ccr['status'] = 'approved' ccr['review']['comments'] = [{'reviewer': f'User ({r})', 'decision': 'approved', 'source_ref': 'statehub:decision:synthetic', 'comment': 'synthetic', 'reviewed_at': '2026-10-30T00:00:00+00:00'}