[tox] Use pytest-random-order

authorDenis Laxalde <denis.laxalde@logilab.fr>
changeset2eb6c9f5ba31
branchdefault
phasedraft
hiddenyes
parent revision#ff63319a1730 Merge 3.26
child revision<not specified>
files modified by this revision
tox.ini
# HG changeset patch
# User Denis Laxalde <denis.laxalde@logilab.fr>
# Date 1561733465 -7200
# Fri Jun 28 16:51:05 2019 +0200
# Node ID 2eb6c9f5ba3193e1d360905f71f3ae71e3c05bf0
# Parent ff63319a1730d9970240d4684df91afc0dc56d06
[tox] Use pytest-random-order

diff --git a/tox.ini b/tox.ini
@@ -4,10 +4,11 @@
1    py3-{server,web,misc}
2 
3  [testenv]
4  basepython=python3
5  deps =
6 +  pytest-random-order
7    -r{toxinidir}/requirements/dev.txt
8    misc: -r{toxinidir}/requirements/test-misc.txt
9    server: -r{toxinidir}/requirements/test-server.txt
10    web: -r{toxinidir}/requirements/test-web.txt
11  commands =
@@ -41,10 +42,11 @@
12    {envpython} -m check_manifest {toxinidir}
13 
14  [pytest]
15  python_files = *test_*.py
16  log_print = false
17 +addopts = --random-order
18 
19  [flake8]
20  format = pylint
21  ignore = W503
22  max-line-length = 100