mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
Runtests should not suppress stdout. In the context of a web app only serves to hide erronous print statements.
This commit is contained in:
parent
d231f36588
commit
cde7154c59
|
@ -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']
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user