[tox] Use pytest-random-order

authorDenis Laxalde <denis.laxalde@logilab.fr>
changeset5f8aec9202cc
branch3.26
phasedraft
hiddenyes
parent revision#9fa65579520f [debug] add ALL possibility to --dbglevel
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
# Branch 3.26
# Node ID 5f8aec9202ccf06fb5b9c2fae11022a017a9c878
# Parent 9fa65579520f0c2dba413cfa791e0419fbd6105e
[tox] Use pytest-random-order

diff --git a/tox.ini b/tox.ini
@@ -3,10 +3,11 @@
1    check-manifest,flake8,
2    py{27,3}-{server,web,misc}
3 
4  [testenv]
5  deps =
6 +  pytest-random-order
7    -r{toxinidir}/requirements/dev.txt
8    py27: backports.tempfile
9    misc: -r{toxinidir}/requirements/test-misc.txt
10    server: -r{toxinidir}/requirements/test-server.txt
11    web: -r{toxinidir}/requirements/test-web.txt
@@ -46,10 +47,11 @@
12      --ignore cubicweb/devtools/test/data/cubes/i18ntestcube*,cubicweb/test/data/legacy_cubes*
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