mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-07 08:55:12 -04:00
Fix tests
This commit is contained in:
parent
55e95d527b
commit
f6ea6e4a1d
7 changed files with 70 additions and 60 deletions
|
@ -388,13 +388,13 @@ class GuiBaseTest(unittest.TestCase):
|
|||
tab.get_mode().server_status.file_selection.get_num_files(), num
|
||||
)
|
||||
|
||||
def add_delete_buttons_hidden(self, tab):
|
||||
"""Test that the add and delete buttons are hidden when the server starts"""
|
||||
def add_remove_buttons_hidden(self, tab):
|
||||
"""Test that the add and remove buttons are hidden when the server starts"""
|
||||
self.assertFalse(
|
||||
tab.get_mode().server_status.file_selection.add_button.isVisible()
|
||||
)
|
||||
self.assertFalse(
|
||||
tab.get_mode().server_status.file_selection.delete_button.isVisible()
|
||||
tab.get_mode().server_status.file_selection.remove_button.isVisible()
|
||||
)
|
||||
|
||||
# Auto-stop timer tests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue