From dc24b5ecd37cf9559dc6efd9dccb8a4cb52354ba Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Thu, 13 Dec 2018 21:08:51 -0800 Subject: Fix bug in OnionStub, the stub used in settings dialog tests --- tests/SettingsGuiBaseTest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf