mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 02:32:58 -03:00
Remove all the extra QApplications
This commit is contained in:
parent
8b4ef277b5
commit
f0dd76f681
18 changed files with 22 additions and 58 deletions
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": False,
|
"public_mode": False,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
@ -72,7 +70,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
open(testsettings, 'w').write(json.dumps(test_settings))
|
open(testsettings, 'w').write(json.dumps(test_settings))
|
||||||
|
|
||||||
cls.gui = OnionShareGui(common, testonion, qtapp, app, ['/tmp/test.txt'], testsettings, True)
|
cls.gui = OnionShareGui(common, testonion, qtapp, app, ['/tmp/test.txt'], testsettings, True)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def tearDownClass(cls):
|
def tearDownClass(cls):
|
||||||
'''Clean up after tests'''
|
'''Clean up after tests'''
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": True,
|
"public_mode": True,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
@ -72,7 +70,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
open(testsettings, 'w').write(json.dumps(test_settings))
|
open(testsettings, 'w').write(json.dumps(test_settings))
|
||||||
|
|
||||||
cls.gui = OnionShareGui(common, testonion, qtapp, app, ['/tmp/test.txt'], testsettings, True)
|
cls.gui = OnionShareGui(common, testonion, qtapp, app, ['/tmp/test.txt'], testsettings, True)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def tearDownClass(cls):
|
def tearDownClass(cls):
|
||||||
'''Clean up after tests'''
|
'''Clean up after tests'''
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": False,
|
"public_mode": False,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": True,
|
"public_mode": True,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": True,
|
"public_mode": True,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
slug = ''
|
slug = ''
|
||||||
|
@ -50,7 +48,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": False,
|
"public_mode": False,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": False,
|
"public_mode": False,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": False,
|
"public_mode": False,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
@ -72,7 +70,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
open(testsettings, 'w').write(json.dumps(test_settings))
|
open(testsettings, 'w').write(json.dumps(test_settings))
|
||||||
|
|
||||||
cls.gui = OnionShareGui(common, testonion, qtapp, app, ['/tmp/test.txt'], testsettings, False)
|
cls.gui = OnionShareGui(common, testonion, qtapp, app, ['/tmp/test.txt'], testsettings, False)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def tearDownClass(cls):
|
def tearDownClass(cls):
|
||||||
'''Clean up after tests'''
|
'''Clean up after tests'''
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": True,
|
"public_mode": True,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
@ -72,7 +70,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
open(testsettings, 'w').write(json.dumps(test_settings))
|
open(testsettings, 'w').write(json.dumps(test_settings))
|
||||||
|
|
||||||
cls.gui = OnionShareGui(common, testonion, qtapp, app, ['/tmp/test.txt'], testsettings, False)
|
cls.gui = OnionShareGui(common, testonion, qtapp, app, ['/tmp/test.txt'], testsettings, False)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def tearDownClass(cls):
|
def tearDownClass(cls):
|
||||||
'''Clean up after tests'''
|
'''Clean up after tests'''
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": False,
|
"public_mode": False,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": False,
|
"public_mode": False,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": True,
|
"public_mode": True,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": True,
|
"public_mode": True,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
slug = ''
|
slug = ''
|
||||||
|
@ -51,7 +49,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": False,
|
"public_mode": False,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": False,
|
"public_mode": False,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": False,
|
"public_mode": False,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": False,
|
"public_mode": False,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
|
|
@ -14,8 +14,6 @@ from onionshare_gui import *
|
||||||
|
|
||||||
from .commontests import CommonTests
|
from .commontests import CommonTests
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
|
||||||
|
|
||||||
class OnionShareGuiTest(unittest.TestCase):
|
class OnionShareGuiTest(unittest.TestCase):
|
||||||
'''Test the OnionShare GUI'''
|
'''Test the OnionShare GUI'''
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -48,7 +46,7 @@ class OnionShareGuiTest(unittest.TestCase):
|
||||||
"control_port_port": 9051,
|
"control_port_port": 9051,
|
||||||
"downloads_dir": "/tmp/OnionShare",
|
"downloads_dir": "/tmp/OnionShare",
|
||||||
"hidservauth_string": "",
|
"hidservauth_string": "",
|
||||||
"no_bridges": True,
|
"no_bridges": True,
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"public_mode": False,
|
"public_mode": False,
|
||||||
"receive_allow_receiver_shutdown": True,
|
"receive_allow_receiver_shutdown": True,
|
||||||
|
|
Loading…
Add table
Reference in a new issue