-
Notifications
You must be signed in to change notification settings - Fork 0
/
pytest.ini
39 lines (34 loc) · 954 Bytes
/
pytest.ini
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
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test
python_functions = test_*
markers =
unit: Unit tests
integration: Integration tests
functional: Functional tests
performance: Performance tests
gui: GUI tests that require display
slow: Tests that take longer than average to run
cleanup: Tests that need special cleanup
windows: Windows-specific tests
# Environment variables
env =
PYTHONPATH=src
QT_QPA_PLATFORM=offscreen
PYTEST_DISABLE_PLUGIN_AUTOLOAD=True
# Test collection
norecursedirs = .* build dist CVS _darcs {arch} *.egg venv env .env
# Logging
log_cli = True
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
# Warnings
filterwarnings =
ignore::DeprecationWarning
ignore::UserWarning
ignore::RuntimeWarning:PyQt5.*
# Timeouts
timeout = 300
timeout_method = thread