From 06526cafe54e581b6486a98e9852c0d946b28ea3 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 21 Jun 2018 15:28:25 +0200 Subject: [PATCH] runtests.py: clean up PYTEST_ARGS (#6040) 1. `tests` and `--tb=short` is not necessary, since it is in `pytest.addopts` already. 2. removes `-s` (shortcut for --capture=no): it is typically a good idea to not display output from successful tests. --- runtests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtests.py b/runtests.py index 76deff3193..16b47ce2a4 100755 --- a/runtests.py +++ b/runtests.py @@ -7,8 +7,8 @@ import pytest PYTEST_ARGS = { - 'default': ['tests', '--tb=short', '-s', '-rw'], - 'fast': ['tests', '--tb=short', '-q', '-s', '-rw'], + 'default': [], + 'fast': ['-q'], } FLAKE8_ARGS = ['rest_framework', 'tests']