[tox] Use pytest-random-order

authorDenis Laxalde <denis.laxalde@logilab.fr>
changeset9bb88a50047d
branchdefault
phasedraft
hiddenno
parent revision#2f3cb7f5a92f chore(flake8): update flake8-ok-files.txt with files that passes flake8 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 9bb88a50047d8915ae0677773c1d0d7ed7ea93af
# Parent 2f3cb7f5a92f4c3a70a5abf30227d6228b614804
[tox] Use pytest-random-order

diff --git a/tox.ini b/tox.ini
@@ -8,10 +8,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 =
@@ -83,10 +84,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