mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-05 07:55:23 -04:00
Start adding test_autostart_timer
This commit is contained in:
parent
6f830f1206
commit
8c8ddcb2ad
2 changed files with 29 additions and 12 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue