mirror of
https://github.com/invariantlabs-ai/invariant-gateway.git
synced 2026-10-10 22:48:44 +02:00
Use pyproject.toml instead of requirements.txt and fix some broken tests.
This commit is contained in:
1 parent
6b6f33bde6
commit
5bf121bbda
23 files changed
+99
-81
No files matched your search
@@ -7,10 +7,6 @@ import random
|
||||
import string
|
||||
import pytest
|
||||
|
||||
from gateway.common.config_manager import GatewayConfig
|
||||
from gateway.common.request_context import RequestContext
|
||||
|
||||
|
||||
# Add root folder (parent) to sys.path
|
||||
sys.path.append(
|
||||
os.path.dirname(
|
||||
@@ -18,6 +14,8 @@ sys.path.append(
|
||||
)
|
||||
)
|
||||
|
||||
from gateway.common.config_manager import GatewayConfig
|
||||
from gateway.common.request_context import RequestContext
|
||||
from gateway.common.authorization import (
|
||||
INVARIANT_GUARDRAIL_SERVICE_AUTHORIZATION_HEADER,
|
||||
extract_authorization_from_headers,
|
||||
|
||||
Reference in new issue
Block a user