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:
Miguel Jacq 2018-10-14 15:11:57 +11:00
parent e31a424a4d
commit 46bec2f261
No known key found for this signature in database
GPG key ID: EEA4341C6D97A0B6
3 changed files with 1 additions and 57 deletions

View file

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