From 005797334ba60a8ed78b08bc51367dc4876a037e Mon Sep 17 00:00:00 2001 From: busya Date: Sat, 21 Mar 2026 12:19:47 +0300 Subject: [PATCH] fix: resolve missing ENCRYPTION_KEY in assistant route tests --- backend/src/api/routes/__tests__/test_assistant_api.py | 2 ++ backend/src/api/routes/__tests__/test_assistant_authz.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/backend/src/api/routes/__tests__/test_assistant_api.py b/backend/src/api/routes/__tests__/test_assistant_api.py index 612b3553..b7f94718 100644 --- a/backend/src/api/routes/__tests__/test_assistant_api.py +++ b/backend/src/api/routes/__tests__/test_assistant_api.py @@ -1,3 +1,5 @@ +import os +os.environ["ENCRYPTION_KEY"] = "OnrCzomBWbIjTf7Y-fnhL2adlU55bHZQjp8zX5zBC5w=" # [DEF:AssistantApiTests:Module] # @COMPLEXITY: 3 # @SEMANTICS: tests, assistant, api diff --git a/backend/src/api/routes/__tests__/test_assistant_authz.py b/backend/src/api/routes/__tests__/test_assistant_authz.py index 6ec4f916..9831d737 100644 --- a/backend/src/api/routes/__tests__/test_assistant_authz.py +++ b/backend/src/api/routes/__tests__/test_assistant_authz.py @@ -1,3 +1,5 @@ +import os +os.environ["ENCRYPTION_KEY"] = "OnrCzomBWbIjTf7Y-fnhL2adlU55bHZQjp8zX5zBC5w=" # [DEF:TestAssistantAuthz:Module] # @COMPLEXITY: 3 # @SEMANTICS: tests, assistant, authz, confirmation, rbac