-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
51 lines (49 loc) · 1.34 KB
/
pytest.ini
File metadata and controls
51 lines (49 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[tool:pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
-v
--tb=short
--strict-markers
--disable-warnings
--import-mode=importlib
# pytest-env 플러그인을 사용한 환경변수 설정
env =
ENVIRONMENT = development
DEBUG = true
LOG_LEVEL = INFO
APP_NAME = Ururu AI Recommendation System
VERSION = 1.0.0
EMBEDDING_MODEL_NAME = sentence-transformers/all-MiniLM-L6-v2
EMBEDDING_DIMENSION = 384
MAX_SEQUENCE_LENGTH = 512
PRODUCT_EMBEDDING_BATCH_SIZE = 50
FAISS_INDEX_TYPE = IndexFlatIP
TOP_K_RECOMMENDATIONS = 40
MIN_SIMILARITY_THRESHOLD = 0.3
MAX_SIMILARITY_THRESHOLD = 1.0
TEXT_MAX_LENGTH = 500
PRICE_RANGE_LOW = 10000
PRICE_RANGE_MID_LOW = 30000
PRICE_RANGE_MID = 50000
PRICE_RANGE_MID_HIGH = 100000
MAX_KEY_INGREDIENTS = 5
MAX_BENEFITS = 5
MAX_TARGET_CONCERNS = 5
MAX_WORKERS = 2
CACHE_TTL_SECONDS = 3600
BATCH_PROCESSING_DELAY = 0.1
DB_HOST = localhost
DB_PORT = 3306
DB_USERNAME = test_user
DB_PASSWORD = test_password
DB_NAME = test_db
DB_CHARSET = utf8mb4
AWS_REGION = ap-northeast-2
AWS_ACCESS_KEY_ID = test_key
AWS_SECRET_ACCESS_KEY = test_secret
S3_BUCKET_NAME = test-bucket
# asyncio 설정 추가
asyncio_default_fixture_loop_scope = function