[tox] Use pytest-random-order

authorDenis Laxalde <denis.laxalde@logilab.fr>
changeset84937ac5060f
branch3.26
phasedraft
hiddenyes
parent revision#2233a2ee658f Added tag 3.26.15, debian/3.26.15-1 for changeset fe9bd0e937e4
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 84937ac5060f5fec645808e4805ec08cc717780a
# Parent 2233a2ee658f59d2d33f2f272c64d507e7548a3f
[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