-
Notifications
You must be signed in to change notification settings - Fork 91
/
pytest.ini
14 lines (12 loc) · 640 Bytes
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[pytest]
DJANGO_SETTINGS_MODULE=ocfweb.settings
# We use pytest-xdist here to parallelize tests across all available CPUs. If
# you find that this is using too much CPU, change 'auto' to the number of CPUs
# you want to parallize across. See https://docs.pytest.org/en/3.0.0/xdist.html
# for more details on available options
addopts=--cov --cov-report=term-missing --durations=10 -n auto
# Unfortunately this is needed to make pytest-xdist order tests correctly
# between workers to not fail to run any tests due to mismatched test sets
# See https://github.com/pytest-dev/pytest/issues/1075 for more details.
env =
PYTHONHASHSEED=0