Merge pull request #3746 from linovia/feature/display_internal_pytest_warnings

Display py.test internal warnings
This commit is contained in:
Tom Christie 2016-01-14 15:25:41 +00:00
commit 2ce3ab59a6
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -8,7 +8,7 @@ envlist =
{py27,py34,py35}-django{19}
[testenv]
commands = ./runtests.py --fast {posargs} --coverage
commands = ./runtests.py --fast {posargs} --coverage -rw
setenv =
PYTHONDONTWRITEBYTECODE=1
deps =