summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Powers <dana.powers@rd.io>2014-08-26 14:13:43 -0700
committerDana Powers <dana.powers@rd.io>2014-08-26 14:13:43 -0700
commitf7be23f6a761fd85a22437b67fdab61303bfc9e0 (patch)
tree96f0adc1fa2e8e718ce7623af0d4ba64d3e23072
parenta1603619d42066f446eed61973ab48dea9a026db (diff)
downloadkafka-python-f7be23f6a761fd85a22437b67fdab61303bfc9e0.tar.gz
Add test timers via nose-timer plugin; list the 10 slowest by default
-rw-r--r--tox.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 09ec1e3..ef89dfb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,10 +4,11 @@ envlist = py26, py27, pypy
deps =
unittest2
nose
+ nose-timer
coverage
mock
python-snappy
commands =
- nosetests {posargs:-v --with-id --with-coverage --cover-erase --cover-package kafka}
+ nosetests {posargs:-v --with-id --with-timer --timer-top-n 10 --with-coverage --cover-erase --cover-package kafka}
setenv =
PROJECT_ROOT = {toxinidir}