mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-25 15:00:27 -04:00
Pass --local-only down to the ServerStatus and Mode so that we can set shorter timeouts for local GUI tests. Update the tests to use a very short timeout
This commit is contained in:
parent
2a7adb2365
commit
201f351279
5 changed files with 29 additions and 16 deletions
|
@ -108,7 +108,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
|||
|
||||
@pytest.mark.run(order=8)
|
||||
def test_set_timeout(self):
|
||||
CommonTests.test_set_timeout(self, 'share')
|
||||
CommonTests.test_set_timeout(self, 'share', 5)
|
||||
|
||||
@pytest.mark.run(order=9)
|
||||
def test_server_working_on_start_button_pressed(self):
|
||||
|
@ -132,7 +132,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
|||
|
||||
@pytest.mark.run(order=14)
|
||||
def test_timeout(self):
|
||||
CommonTests.test_server_timed_out(self, 'share', 120000)
|
||||
CommonTests.test_server_timed_out(self, 'share', 10000)
|
||||
|
||||
@pytest.mark.run(order=15)
|
||||
def test_web_service_is_stopped(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue