Start adding test_autostart_timer

This commit is contained in:
Micah Lee 2019-11-08 20:06:24 +08:00
parent 6c89ce2f28
commit 29ebdd850e
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
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)