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 7329cd0fa5
commit 1a1d3d9c8a
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'))