-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
28 lines (22 loc) · 1.16 KB
/
pytest.ini
File metadata and controls
28 lines (22 loc) · 1.16 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
[pytest]
# Settings managed by the base template
norecursedirs = node_modules .precommit_cache .npm_cache .pipenv_cache venv .venv .history
addopts = --cov=src --cov-report html --cov-report term-missing:skip-covered --cov-config=./.coveragerc
log_cli = 1
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
log_file = pytest.log
log_file_level = INFO
log_file_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
log_file_date_format=%Y-%m-%d %H:%M:%S
filterwarnings =
ignore:.*not yet supported by AWS Native:DeprecationWarning
ignore:.*aws\..* has been deprecated in favor of aws\.:DeprecationWarning
# for now, too many dependencies are not using latest datetime representation. too many false positives for now
ignore:.*timezone-aware objects to represent datetimes in UTC:DeprecationWarning
error::pytest.PytestUnraisableExceptionWarning
# stackoverflow.com/questions/71642742/make-pytest-fail-on-resourcewarning-unclosed-files
error::pytest.PytestUnhandledThreadExceptionWarning
xfail_strict=true
# Settings specific to this repository