Skip to content

Commit f33223d

Browse files
author
Jean-Louis Fuchs
authored
Make tests order independent (v3) (#940)
* Completes 'Make tests order independent'
1 parent 9bb0554 commit f33223d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

pytest.ini

-2
This file was deleted.

setup.cfg

+4
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,7 @@ include_trailing_comma=True
4343
force_grid_wrap=0
4444
use_parentheses=True
4545
line_length=88
46+
47+
[tool:pytest]
48+
DJANGO_SETTINGS_MODULE = django_test_settings
49+
addopts = --random-order

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
tests_require = [
1616
"pytest>=3.6.3",
1717
"pytest-cov",
18+
"pytest-random-order",
1819
"coveralls",
1920
"mock",
2021
"pytz",

0 commit comments

Comments
 (0)