Repository navigation
Expand file tree
/
Copy pathpytest.ini
More file actions
58 lines (50 loc) · 1.5 KB
/
Copy pathpytest.ini
File metadata and controls
58 lines (50 loc) · 1.5 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
52
53
54
55
56
57
58
[pytest]
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Python path for imports
pythonpath = . tests
# Test paths
testpaths = tests
# Asyncio configuration
asyncio_mode = auto
# Resource leaks are often reported during object finalization and wrapped by
# pytest. Keep both forms fatal so --disable-warnings cannot hide them.
filterwarnings =
error::ResourceWarning
error::pytest.PytestUnraisableExceptionWarning
# Output options
addopts =
-v
--strict-markers
--tb=short
--disable-warnings
# Markers
markers =
contract(name): stable behavior obligation for required suites
postgres: required postgres execution suite
session_summary: required session summary boundary and accounting suite
local_agent: required local_agent execution suite
security: required security execution suite
compiled_cli: required compiled_cli execution suite
plugin_identity: required plugin_identity execution suite
seekdb: required seekdb execution suite
asyncio: mark test as async
unit: mark test as unit test
integration: mark test as integration test
smoke: mark test as smoke test
slow: mark test as slow running
e2e: mark test as end-to-end test (requires real LangBot process)
# Coverage options (when using pytest-cov)
[coverage:run]
source = langbot
omit =
*/tests/*
*/test_*.py
*/__pycache__/*
*/site-packages/*
[coverage:report]
precision = 2
show_missing = True
skip_covered = False