Add a small test.

This commit is contained in:
Zackery Spytz 2019-11-17 00:29:19 -07:00
parent 339d8c9524
commit 9aa2e0ee2e
1 changed files with 5 additions and 0 deletions

View File

@ -1139,6 +1139,11 @@ class GenPageTest(unittest.TestCase):
self.page.cursor_blink_bool.invoke()
self.assertEqual(mainpage, {'EditorWindow': {'cursor-blink': 'False'}})
def test_strip_trailing_space_on_save(self):
self.page.strip_trailing_space_save_bool.invoke()
name = 'strip-trailing-whitespace-on-save'
self.assertEqual(mainpage, {'EditorWindow': {name: 'False'}})
def test_autocomplete_wait(self):
self.page.auto_wait_int.delete(0, 'end')
self.page.auto_wait_int.insert(0, '11')