mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-18 21:34:17 -05:00
Tweaks to SettingsGuiBaseTest object
This commit is contained in:
parent
fab25aca11
commit
8a9b6ac633
@ -1,13 +1,10 @@
|
|||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
from PyQt5 import QtWidgets
|
|
||||||
|
|
||||||
from onionshare import strings
|
from onionshare import strings
|
||||||
from onionshare.common import Common
|
from onionshare.common import Common
|
||||||
from onionshare.settings import Settings
|
from onionshare.settings import Settings
|
||||||
from onionshare.onion import Onion
|
from onionshare.onion import Onion
|
||||||
from onionshare.web import Web
|
|
||||||
from onionshare_gui import Application, OnionShare
|
from onionshare_gui import Application, OnionShare
|
||||||
from onionshare_gui.settings_dialog import SettingsDialog
|
from onionshare_gui.settings_dialog import SettingsDialog
|
||||||
|
|
||||||
@ -31,8 +28,6 @@ class SettingsGuiBaseTest(object):
|
|||||||
qtapp = Application(common)
|
qtapp = Application(common)
|
||||||
app = OnionShare(common, testonion, True, 0)
|
app = OnionShare(common, testonion, True, 0)
|
||||||
|
|
||||||
web = Web(common, False, True)
|
|
||||||
|
|
||||||
for key, val in common.settings.default_settings.items():
|
for key, val in common.settings.default_settings.items():
|
||||||
if key not in test_settings:
|
if key not in test_settings:
|
||||||
test_settings[key] = val
|
test_settings[key] = val
|
||||||
|
Loading…
x
Reference in New Issue
Block a user