Fix bug when handling a broken tor connection

This commit is contained in:
Micah Lee 2019-11-08 21:36:54 +08:00
parent e2c94e49c9
commit 2a1963a8f5
2 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,10 @@ class GuiBaseTest(unittest.TestCase):
@classmethod
def tearDownClass(cls):
# Quit
QtCore.QTimer.singleShot(0, cls.gui.close_dialog.accept_button.click)
cls.gui.close()
cls.gui.cleanup()
# Shared test methods