Use the short traceback.

This commit is contained in:
Xavier Ordoquy 2014-09-16 21:51:11 +02:00
parent cefeb23b25
commit cfd0ab52fd
2 changed files with 3 additions and 3 deletions

View File

@ -8,8 +8,8 @@ import subprocess
PYTEST_ARGS = { PYTEST_ARGS = {
'default': ['tests'], 'default': ['tests', '--tb=short'],
'fast': ['tests', '-q'], 'fast': ['tests', '-q', '--tb=short'],
} }
FLAKE8_ARGS = ['rest_framework', 'tests', '--ignore=E501'] FLAKE8_ARGS = ['rest_framework', 'tests', '--ignore=E501']

View File

@ -8,7 +8,7 @@ envlist =
py2.7-django1.4,py2.6-django1.4 py2.7-django1.4,py2.6-django1.4
[testenv] [testenv]
commands = ./runtests.py --fast commands = ./runtests.py --fast --tb=short
[testenv:flake8] [testenv:flake8]
basepython = python2.7 basepython = python2.7