-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
63 lines (53 loc) · 1.29 KB
/
pytest.ini
File metadata and controls
63 lines (53 loc) · 1.29 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
59
60
61
62
63
# pytest.ini
[pytest]
minversion = 7.0
pythonpath =
src
.
testpaths =
tests
examples/demo_qa/tests
python_files =
test_*.py
*_test.py
python_classes =
Test*
python_functions =
test_*
addopts =
-ra
--strict-config
--strict-markers
norecursedirs =
.git
.hg
.svn
.tox
.pytest_cache
.mypy_cache
.ruff_cache
__pycache__
build
dist
htmlcov
.venv
venv
node_modules
markers =
regression: regression tests (can be excluded via -m "not regression")
slow: slow tests (exclude via -m "not slow")
integration: integration tests (providers / IO / external deps)
e2e: end-to-end scenarios
# Удобные дефолты для логов в CI и локально
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)s] %(name)s: %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Чтобы xfail не проходили "тихо" если внезапно начали проходить
xfail_strict = true
# Часто полезно подсветить потенциальные проблемы
filterwarnings =
error::DeprecationWarning:fetchgraph.*
error::PendingDeprecationWarning:fetchgraph.*
ignore::DeprecationWarning
ignore::PendingDeprecationWarning