Tweaks to SettingsGuiBaseTest object

This commit is contained in:
Miguel Jacq 2018-10-17 17:59:16 +11:00
parent fab25aca11
commit 8a9b6ac633

View File

@ -1,13 +1,10 @@
import json
import os
import sys
from PyQt5 import QtWidgets
from onionshare import strings
from onionshare.common import Common
from onionshare.settings import Settings
from onionshare.onion import Onion
from onionshare.web import Web
from onionshare_gui import Application, OnionShare
from onionshare_gui.settings_dialog import SettingsDialog
@ -31,8 +28,6 @@ class SettingsGuiBaseTest(object):
qtapp = Application(common)
app = OnionShare(common, testonion, True, 0)
web = Web(common, False, True)
for key, val in common.settings.default_settings.items():
if key not in test_settings:
test_settings[key] = val