[tox] Use pytest-random-order

authorDenis Laxalde <denis.laxalde@logilab.fr>
changesetafa7d78b68f2
branchdefault
phasedraft
hiddenyes
parent revision#fceae84a22dd [py] Make flake8 less angry with cubicweb/server/test/
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 afa7d78b68f2968a7a19f072f7cea4c6c0ee2a99
# Parent fceae84a22dde82fc37fcd60803477794124d96e
[tox] Use pytest-random-order

diff --git a/tox.ini b/tox.ini
@@ -5,10 +5,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 =
@@ -47,10 +48,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