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.
This commit is contained in:
Florian Bruhin 2016-02-03 07:55:10 +01:00
parent 6008adcb9f
commit 3292c05340

View File

@ -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'):