Remove all the extra QApplications

This commit is contained in:
Micah Lee 2018-09-27 17:34:46 -07:00
parent 9dadc4a221
commit 111f69f30e
18 changed files with 22 additions and 58 deletions

View file

@ -14,8 +14,6 @@ from onionshare_gui import *
from .commontests import CommonTests
app = QtWidgets.QApplication(sys.argv)
class OnionShareGuiTest(unittest.TestCase):
'''Test the OnionShare GUI'''
@classmethod
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
"control_port_port": 9051,
"downloads_dir": "/tmp/OnionShare",
"hidservauth_string": "",
"no_bridges": True,
"no_bridges": True,
"private_key": "",
"public_mode": False,
"receive_allow_receiver_shutdown": True,