-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
31 lines (30 loc) · 851 Bytes
/
pytest.ini
File metadata and controls
31 lines (30 loc) · 851 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
[pytest]
asyncio_mode = auto
norecursedirs = .git .mypy_cache .tox
testpaths = src tests
; doctest_plus = enabled
addopts=
-rfE
--strict
--durations 10
--cov-config .coveragerc
--color yes
--ignore-glob **.*@neomake*.py
--ignore __pycache__
--benchmark-disable
;--pdbcls=IPython.terminal.debugger:TerminalPdb
log_format = %(asctime)s %(levelname)s %(message)s
log_date_format = %Y-%m-%d %H:%M:%S
markers =
webtest: mark a test as a webtest.
filterwarnings =
# Error by default
error
ignore::RuntimeWarning
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::ImportWarning
ignore::ResourceWarning
# ignore ResourceWarnings, since pytest raises PytestUnraisableExceptionWarning
# unpredictably -> I have no clue what is the source of this behaviour XXX FIXME TODO
mock_use_standalone_module = true