Fix bug in OnionStub, the stub used in settings dialog tests

This commit is contained in:
Micah Lee 2018-12-13 21:08:51 -08:00
parent fcf01d3e4f
commit 1ac013f444

View File

@ -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