[tox] Use pytest-random-order

authorDenis Laxalde <denis.laxalde@logilab.fr>
changeset407a6981f695
branchdefault
phasedraft
hiddenyes
parent revision#dc78519ad8b0 [tox/fix] missing hg+
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 407a6981f695fd1186e4a6e7b6af6e0bd031b115
# Parent dc78519ad8b020630bbb36797fd58955b6c6b30f
[tox] Use pytest-random-order

diff --git a/tox.ini b/tox.ini
@@ -6,10 +6,11 @@
1    doc8
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 =
@@ -68,10 +69,11 @@
12      doc8 --ignore-path doc/_build --ignore-path .tox --ignore-path .hg doc
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