Skip to content

Commit a4ce897

Browse files
committed
Display py.test internal warnings
1 parent df071d5 commit a4ce897

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: runtests.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
import pytest
99

1010
PYTEST_ARGS = {
11-
'default': ['tests', '--tb=short', '-s'],
12-
'fast': ['tests', '--tb=short', '-q', '-s'],
11+
'default': ['tests', '--tb=short', '-s', '-rw'],
12+
'fast': ['tests', '--tb=short', '-q', '-s', '-rw'],
1313
}
1414

1515
FLAKE8_ARGS = ['rest_framework', 'tests', '--ignore=E501']

Diff for: tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ envlist =
88
{py27,py34,py35}-django{19}
99

1010
[testenv]
11-
commands = ./runtests.py --fast {posargs} --coverage
11+
commands = ./runtests.py --fast {posargs} --coverage -rw
1212
setenv =
1313
PYTHONDONTWRITEBYTECODE=1
1414
deps =

0 commit comments

Comments
 (0)