From 3292c053407286b5142e9f95c45767681d137f25 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 3 Feb 2016 07:55:10 +0100 Subject: [PATCH] tests: Display some more qutebrowser logs w/o -v. 50 lines of context is almost useless, e.g. when an exception occurs we don't even see the traceback. --- tests/integration/testprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/testprocess.py b/tests/integration/testprocess.py index e54f7ead4..5c50121e5 100644 --- a/tests/integration/testprocess.py +++ b/tests/integration/testprocess.py @@ -73,7 +73,7 @@ class Line: return '{}({!r})'.format(self.__class__.__name__, self.data) -def _render_log(data, threshold=50): +def _render_log(data, threshold=100): """Shorten the given log without -v and convert to a string.""" # pylint: disable=no-member if len(data) > threshold and not pytest.config.getoption('--verbose'):