Reset global options object in the tests

This commit is contained in:
Kovid Goyal
2022-06-07 10:58:03 +05:30
parent ad128a3c29
commit 061a0c8cb6
4 changed files with 9 additions and 0 deletions

View File

@@ -157,6 +157,9 @@ class BaseTest(TestCase):
maxDiff = 2048
is_ci = os.environ.get('CI') == 'true'
def tearDown(self):
set_options(None)
def set_options(self, options=None):
final_options = {'scrollback_pager_history_size': 1024, 'click_interval': 0.5}
if options: