diff options
author | Miguel Jacq <mig@mig5.net> | 2019-11-11 18:08:01 +1100 |
---|---|---|
committer | Miguel Jacq <mig@mig5.net> | 2019-11-11 18:08:01 +1100 |
commit | 8322875de69ac1369c79ae19a03fd9f2acccd4fc (patch) | |
tree | 8d99daafb36463aeb1bb3aca008876a83e9fbf0e /tests | |
parent | 2b85129b29fd02aec6aeebe122dbe814a14a7ab4 (diff) | |
download | onionshare-8322875de69ac1369c79ae19a03fd9f2acccd4fc.tar.gz onionshare-8322875de69ac1369c79ae19a03fd9f2acccd4fc.zip |
Raising qWaits slightly
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gui_base_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gui_base_test.py b/tests/gui_base_test.py index dc883c05..c33891df 100644 --- a/tests/gui_base_test.py +++ b/tests/gui_base_test.py @@ -80,7 +80,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) + QtTest.QTest.qWait(1000) self.assertTrue(tab.new_tab.isVisible()) self.assertFalse(hasattr(tab, "share_mode")) self.assertFalse(hasattr(tab, "receive_mode")) @@ -349,7 +349,7 @@ class GuiBaseTest(unittest.TestCase): def web_server_is_stopped(self, tab): """Test that the web server also stopped""" - QtTest.QTest.qWait(200) + QtTest.QTest.qWait(800) try: requests.get(f"http://127.0.0.1:{tab.app.port}/") |