summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2018-12-13 21:08:51 -0800
committerMicah Lee <micah@micahflee.com>2018-12-13 21:08:51 -0800
commitdc24b5ecd37cf9559dc6efd9dccb8a4cb52354ba (patch)
tree06d1de98ac8fed581dd7ead40b1fa343a81c667e
parentf9e6e6964cdc34b685ac1a0d6a7e82540b654a31 (diff)
downloadonionshare-dc24b5ecd37cf9559dc6efd9dccb8a4cb52354ba.tar.gz
onionshare-dc24b5ecd37cf9559dc6efd9dccb8a4cb52354ba.zip
Fix bug in OnionStub, the stub used in settings dialog tests
-rw-r--r--tests/SettingsGuiBaseTest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SettingsGuiBaseTest.py b/tests/SettingsGuiBaseTest.py
index 57626d1d..aea19c68 100644
--- a/tests/SettingsGuiBaseTest.py
+++ b/tests/SettingsGuiBaseTest.py
@@ -14,7 +14,7 @@ from onionshare_gui.settings_dialog import SettingsDialog
class OnionStub(object):
def __init__(self, is_authenticated, supports_v3_onions=False):
self._is_authenticated = is_authenticated
- self.supports_v3_onions = True
+ self.supports_v3_onions = supports_v3_onions
def is_authenticated(self):
return self._is_authenticated