mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-09 18:05:05 -04:00
Add test_upload_non_writable_dir, test_public_upload, and test_public_upload_non_writable_dir
This commit is contained in:
parent
4dde85e4f6
commit
699884df80
2 changed files with 70 additions and 23 deletions
|
@ -73,6 +73,7 @@ class GuiBaseTest(unittest.TestCase):
|
|||
|
||||
def verify_new_tab(self, tab):
|
||||
# Make sure the new tab widget is showing, and no mode has been started
|
||||
QtTest.QTest.qWait(500)
|
||||
self.assertTrue(tab.new_tab.isVisible())
|
||||
self.assertFalse(hasattr(tab, "share_mode"))
|
||||
self.assertFalse(hasattr(tab, "receive_mode"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue