[tox] Use pytest-random-order

authorDenis Laxalde <denis.laxalde@logilab.fr>
changeset1ebe9709b4bd
branchdefault
phasedraft
hiddenyes
parent revision#2c7499bc675b [test] Require pycryptodomex, not pycryptodome
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 1ebe9709b4bd9345578823cbb580f8fe1a231755
# Parent 2c7499bc675b39331316df3b9a34cc0b98d1f492
[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 =
@@ -44,10 +45,11 @@
12      --ignore cubicweb/devtools/test/data/cubes/i18ntestcube*,cubicweb/server/test/data-migractions/cubicweb_*,cubicweb/server/test/data-migractions/migratedapp/cubicweb_*,cubicweb/sobjects/test/data/cubicweb_*,cubicweb/test/data-rewrite/cubicweb_*
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