인증 경로 보존과 의존성 보안 검증을 보강
This commit is contained in:
parent
d2ba836565
commit
d801a1619d
10 changed files with 222 additions and 77 deletions
|
|
@ -140,6 +140,13 @@ class CaptureStreamEngine:
|
|||
|
||||
class OrchestratorMaskingGateTest(unittest.IsolatedAsyncioTestCase):
|
||||
def setUp(self) -> None:
|
||||
self.client_affect_provider_patch = patch.object(
|
||||
orchestrator.settings,
|
||||
"client_affect_provider",
|
||||
"legacy",
|
||||
)
|
||||
self.client_affect_provider_patch.start()
|
||||
self.addCleanup(self.client_affect_provider_patch.stop)
|
||||
self.presidio_patch = patch.object(
|
||||
guardrail,
|
||||
"_try_load_presidio",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue