diff options
author | Micah Lee <micah@micahflee.com> | 2019-10-20 19:41:20 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2019-10-20 19:41:20 -0700 |
commit | 4f2ce994172b6bd2b22a44b22d35ce1922e41d8c (patch) | |
tree | fad83da338833f7dd20c34b7045890f9613676d9 /tests | |
parent | 30949cf1960c5c662feba8aa5a4c0d1f67549878 (diff) | |
download | onionshare-4f2ce994172b6bd2b22a44b22d35ce1922e41d8c.tar.gz onionshare-4f2ce994172b6bd2b22a44b22d35ce1922e41d8c.zip |
Rename OnionShareGui to MainWindow
Diffstat (limited to 'tests')
-rw-r--r-- | tests/GuiBaseTest.py | 4 | ||||
-rw-r--r-- | tests/GuiWebsiteTest.py | 4 | ||||
-rw-r--r-- | tests/TorGuiBaseTest.py | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/GuiBaseTest.py b/tests/GuiBaseTest.py index daa7cb09..068bb5c5 100644 --- a/tests/GuiBaseTest.py +++ b/tests/GuiBaseTest.py @@ -11,7 +11,7 @@ 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, OnionShareGui +from onionshare_gui import Application, OnionShare, MainWindow from onionshare_gui.mode.share_mode import ShareMode from onionshare_gui.mode.receive_mode import ReceiveMode from onionshare_gui.mode.website_mode import WebsiteMode @@ -53,7 +53,7 @@ class GuiBaseTest(object): web = Web(common, False, True) open("/tmp/settings.json", "w").write(json.dumps(test_settings)) - gui = OnionShareGui( + gui = MainWindow( common, testonion, qtapp, diff --git a/tests/GuiWebsiteTest.py b/tests/GuiWebsiteTest.py index 79b44e2e..8c733442 100644 --- a/tests/GuiWebsiteTest.py +++ b/tests/GuiWebsiteTest.py @@ -10,7 +10,7 @@ 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, OnionShareGui +from onionshare_gui import Application, OnionShare, MainWindow from .GuiShareTest import GuiShareTest @@ -45,7 +45,7 @@ class GuiWebsiteTest(GuiShareTest): web = Web(common, False, True) open("/tmp/settings.json", "w").write(json.dumps(test_settings)) - gui = OnionShareGui( + gui = MainWindow( common, testonion, qtapp, diff --git a/tests/TorGuiBaseTest.py b/tests/TorGuiBaseTest.py index 611d3efa..ab5ed508 100644 --- a/tests/TorGuiBaseTest.py +++ b/tests/TorGuiBaseTest.py @@ -10,7 +10,7 @@ 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, OnionShareGui +from onionshare_gui import Application, OnionShare, MainWindow from onionshare_gui.mode.share_mode import ShareMode from onionshare_gui.mode.receive_mode import ReceiveMode @@ -54,7 +54,7 @@ class TorGuiBaseTest(GuiBaseTest): web = Web(common, False, False) open("/tmp/settings.json", "w").write(json.dumps(test_settings)) - gui = OnionShareGui( + gui = MainWindow( common, testonion, qtapp, |