Introduce typed config objects, optional adapter injection, and .env loading to simplify testing while preserving env-based defaults for production usage. Co-authored-by: Cursor <[email protected]>
12 lines
321 B
Python
12 lines
321 B
Python
"""Shared test configuration constants."""
|
|
|
|
from python_repositories.config import MinioConfig, RedisConfig
|
|
|
|
TEST_REDIS_CONFIG = RedisConfig(uri="redis://localhost:6379")
|
|
TEST_MINIO_CONFIG = MinioConfig(
|
|
endpoint="localhost:9000",
|
|
access_key="minioadmin",
|
|
secret_key="minioadmin",
|
|
bucket="test-bucket",
|
|
)
|