Commit 75211bdf authored by Joshua Harlow's avatar Joshua Harlow

Enable nose-timer and always show top 10 slow tests

parent 78cbc764
......@@ -2,6 +2,7 @@
httpretty>=0.7.1
mock
nose
nose-timer
# Only really needed on older versions of python
contextlib2
......
......@@ -3,7 +3,7 @@ envlist = py27,py3,flake8
recreate = True
[testenv]
commands = python -m nose {posargs:tests}
commands = python -m nose --with-timer --timer-top-n 10 {posargs:tests}
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
......@@ -19,7 +19,7 @@ setenv =
LC_ALL = en_US.utf-8
[testenv:py26]
commands = nosetests {posargs:tests}
commands = nosetests --with-timer --timer-top-n 10 {posargs:tests}
deps =
contextlib2
httpretty>=0.7.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment