-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpytest.ini
More file actions
21 lines (17 loc) · 731 Bytes
/
Copy pathpytest.ini
File metadata and controls
21 lines (17 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[pytest]
testpaths = tests
# Fail on an unregistered marker instead of silently ignoring it: a typo in
# @pytest.mark.asyncio used to make the test vanish from the run.
addopts = --strict-markers --strict-config -ra
markers =
slow: takes appreciably longer than a second
# pytest-asyncio 1.x: be explicit rather than relying on a default that has
# changed between releases. strict means async tests need @pytest.mark.asyncio.
asyncio_mode = strict
asyncio_default_fixture_loop_scope = function
# Surface warnings rather than hiding them, but do not fail the run on
# third-party deprecations we cannot act on.
filterwarnings =
default
ignore::DeprecationWarning:asyncua.*
ignore::DeprecationWarning:pymodbus.*