-
Notifications
You must be signed in to change notification settings - Fork 126
/
Copy pathpytest.ini
47 lines (40 loc) · 908 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[pytest]
# Async settings
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
# Test file patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Test paths - ensure this points to your test directory relative to pytest.ini location
testpaths = tests
# Markers
markers =
integration: marks tests as integration tests
api: marks tests as API tests
sdk: marks tests as SDK tests
unit: marks tests as unit tests
# Output settings
addopts =
-v
-s
--showlocals
--tb=short
# 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
# Python path - ensure core and sdk are in path
pythonpath =
.
../sdks/python
# Directories to ignore
norecursedirs =
.*
build
dist
*.egg
venv
env
.venv