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:
parent
6008adcb9f
commit
3292c05340
@ -73,7 +73,7 @@ class Line:
|
|||||||
return '{}({!r})'.format(self.__class__.__name__, self.data)
|
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."""
|
"""Shorten the given log without -v and convert to a string."""
|
||||||
# pylint: disable=no-member
|
# pylint: disable=no-member
|
||||||
if len(data) > threshold and not pytest.config.getoption('--verbose'):
|
if len(data) > threshold and not pytest.config.getoption('--verbose'):
|
||||||
|
Loading…
Reference in New Issue
Block a user