Skip to content

Commit

Permalink
fix(tests): use proper durations flag for pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed Oct 20, 2019
1 parent a8f732f commit 6b41bc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ setenv =
whitelist_externals = /usr/bin/env
install_command = /usr/bin/env LANG=C.UTF-8 pip install {opts} {packages}
commands =
pytest --timeout=9 --duration=10 {posargs}
pytest --timeout=9 --durations=10 {posargs}
{toxinidir}/script/check_dirty
deps =
-r{toxinidir}/requirements_test_all.txt
Expand All @@ -31,7 +31,7 @@ setenv =
whitelist_externals = /usr/bin/env
install_command = /usr/bin/env LANG=C.UTF-8 pip install {opts} {packages}
commands =
pytest --timeout=9 --duration=10 --cov --cov-report= {posargs}
pytest --timeout=9 --durations=10 --cov --cov-report= {posargs}
{toxinidir}/script/check_dirty
deps =
-r{toxinidir}/requirements_test_all.txt
Expand Down

0 comments on commit 6b41bc8

Please sign in to comment.