Commit cde7154c by Tom Christie

Runtests should not suppress stdout. In the context of a web app only serves to…

Runtests should not suppress stdout. In the context of a web app only serves to hide erronous print statements.
parent d231f365
...@@ -8,8 +8,8 @@ import sys ...@@ -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): ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment