Runtests should not suppress stdout. In the context of a web app only serves to hide erronous print statements.

This commit is contained in:
Tom Christie 2015-07-16 11:50:22 +01:00
parent d231f36588
commit cde7154c59
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -61,7 +61,6 @@ class FormatSuffixTests(TestCase):
assert callback is None assert callback is None
continue continue
print(test_path, callback, callback_args, callback_kwargs)
assert callback_args == test_path.args assert callback_args == test_path.args
assert callback_kwargs == test_path.kwargs assert callback_kwargs == test_path.kwargs