mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-25 06:50:25 -04:00
fix stealth test. Remove tor connection killed test, because it doesn't work like this in 'automatic' connection mode which we need for Mac/Windows testing
This commit is contained in:
parent
e31a424a4d
commit
46bec2f261
3 changed files with 1 additions and 57 deletions
|
@ -149,10 +149,3 @@ class TorGuiBaseTest(GuiBaseTest):
|
|||
def hidserv_auth_string(self):
|
||||
'''Test the validity of the HidservAuth string'''
|
||||
self.assertRegex(self.gui.app.auth_string, r'HidServAuth %s [a-zA-Z1-9]' % self.gui.app.onion_host)
|
||||
|
||||
# Miscellaneous tests
|
||||
def tor_killed_statusbar_message_shown(self, mode):
|
||||
'''Test that the status bar message shows Tor was disconnected'''
|
||||
self.gui.app.onion.cleanup(stop_tor=True)
|
||||
QtTest.QTest.qWait(2500)
|
||||
self.assertTrue(mode.status_bar.currentMessage(), strings._('gui_tor_connection_lost'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue