인증 경로 보존과 의존성 보안 검증을 보강
This commit is contained in:
parent
d2ba836565
commit
d801a1619d
10 changed files with 222 additions and 77 deletions
|
|
@ -6,6 +6,7 @@ import asyncio
|
|||
import importlib.util
|
||||
import json
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
|
||||
from .paths import repo_path
|
||||
from .services import guardrail
|
||||
|
|
@ -453,7 +454,12 @@ class ClientReplyQualityGateTest(unittest.TestCase):
|
|||
).read_text(encoding="utf-8")
|
||||
)
|
||||
runner = _load_clinical_observation_runner()
|
||||
current = asyncio.run(runner.build_observations(artifact["generated_at"]))
|
||||
with patch.object(
|
||||
runner.orchestrator.settings,
|
||||
"client_affect_provider",
|
||||
"legacy",
|
||||
):
|
||||
current = asyncio.run(runner.build_observations(artifact["generated_at"]))
|
||||
|
||||
self.assertEqual(
|
||||
artifact["schema_version"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue