-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpytest.ini
31 lines (26 loc) · 813 Bytes
/
pytest.ini
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
[pytest]
# Set the minimum pytest version
minversion = 6.0
# Add command-line options
addopts =
--verbose
--durations=0
--strict-markers
-p no:warnings
# Specify test file patterns
testpaths = tests
python_files = test_*.py
# Configure logging
log_cli = True
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Define custom markers (if needed)
markers =
integration: marks tests as integration tests (deselect with '-m "not integration"')
slow: marks tests as slow (deselect with '-m "not slow"')
# Environment variables for tests
env =
PYTHONPATH = {toxinidir}
ZOOM_WEBHOOK_SECRET_TOKEN = test_secret_token
TRANSCRIPT_FORWARD_URL = https://example.com/your-webhook-receiver