-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpytest.ini
More file actions
42 lines (36 loc) · 859 Bytes
/
pytest.ini
File metadata and controls
42 lines (36 loc) · 859 Bytes
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
[pytest]
# Pytest configuration for simple_ado
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Test paths
testpaths = tests
# Default options
addopts =
-v
--strict-markers
--tb=short
--disable-warnings
--integration
# Coverage options (when using --cov)
[coverage:run]
source = simple_ado
omit =
*/tests/*
*/__pycache__/*
*/site-packages/*
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
if TYPE_CHECKING:
@abstractmethod
# Markers
markers =
integration: marks tests as integration tests (deselect with '-m "not integration"')
destructive: marks tests that modify ADO resources
slow: marks tests as slow (deselect with '-m "not slow"')