From cfd0ab52fd4f4ea4edf2b460cef1407416e78acf Mon Sep 17 00:00:00 2001 From: Xavier Ordoquy Date: Tue, 16 Sep 2014 21:51:11 +0200 Subject: [PATCH] Use the short traceback. --- runtests.py | 4 ++-- tox.ini | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtests.py b/runtests.py index 4da05ac37..017cb4aeb 100755 --- a/runtests.py +++ b/runtests.py @@ -8,8 +8,8 @@ import subprocess PYTEST_ARGS = { - 'default': ['tests'], - 'fast': ['tests', '-q'], + 'default': ['tests', '--tb=short'], + 'fast': ['tests', '-q', '--tb=short'], } FLAKE8_ARGS = ['rest_framework', 'tests', '--ignore=E501'] diff --git a/tox.ini b/tox.ini index d40a70799..b5c33a641 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ envlist = py2.7-django1.4,py2.6-django1.4 [testenv] -commands = ./runtests.py --fast +commands = ./runtests.py --fast --tb=short [testenv:flake8] basepython = python2.7