Turn on the scrollback pager for all tests

This commit is contained in:
Kovid Goyal 2018-11-20 10:42:17 +05:30
parent 39e6e91d69
commit 33b62dcabc
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -74,7 +74,9 @@ class BaseTest(TestCase):
ae = TestCase.assertEqual
maxDiff = 2000
def create_screen(self, cols=5, lines=5, scrollback=5, cell_width=10, cell_height=20, options={}):
def create_screen(self, cols=5, lines=5, scrollback=5, cell_width=10, cell_height=20, options=None):
if options is None:
options = {'scrollback_pager_history_size': 1024}
options = Options(merge_configs(defaults._asdict(), options))
set_options(options)
c = Callbacks()