Start adding test_autostart_timer

This commit is contained in:
Micah Lee 2019-11-08 20:06:24 +08:00
parent 6f830f1206
commit 8c8ddcb2ad
2 changed files with 29 additions and 12 deletions

View file

@ -109,6 +109,10 @@ class GuiBaseTest(unittest.TestCase):
return tab
def close_all_tabs(self):
for _ in range(self.gui.tabs.count()):
self.gui.tabs.tabBar().tabButton(0, QtWidgets.QTabBar.RightSide).click()
def gui_loaded(self):
"""Test that the GUI actually is shown"""
self.assertTrue(self.gui.show)