Tweaks to SettingsGuiBaseTest object

This commit is contained in:
Miguel Jacq 2018-10-17 17:59:16 +11:00
parent cfbfc4a666
commit c47f974dad
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

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