Add test_upload_non_writable_dir, test_public_upload, and test_public_upload_non_writable_dir

This commit is contained in:
Micah Lee 2019-11-10 13:33:01 -08:00
parent 4dde85e4f6
commit 699884df80
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
2 changed files with 70 additions and 23 deletions

View file

@ -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"))