summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2019-11-02 17:06:13 -0700
committerMicah Lee <micah@micahflee.com>2019-11-02 17:06:13 -0700
commitb815b0e9e2853f14a2bb07ce0782b3f21d355c23 (patch)
treeb9cb1ce0b860d0aa530c507f9ed47351c2aa815a /tests
parent87918c5d89f26bce515879895ed0a4ae736dbd2a (diff)
downloadonionshare-b815b0e9e2853f14a2bb07ce0782b3f21d355c23.tar.gz
onionshare-b815b0e9e2853f14a2bb07ce0782b3f21d355c23.zip
Remove mode settings from global settings object
Diffstat (limited to 'tests')
-rw-r--r--tests/test_onionshare_settings.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/test_onionshare_settings.py b/tests/test_onionshare_settings.py
index 0bce2f94..9c81642f 100644
--- a/tests/test_onionshare_settings.py
+++ b/tests/test_onionshare_settings.py
@@ -50,24 +50,12 @@ class TestSettings:
"socket_file_path": "/var/run/tor/control",
"auth_type": "no_auth",
"auth_password": "",
- "close_after_first_download": True,
- "autostop_timer": False,
- "autostart_timer": False,
- "use_stealth": False,
"use_autoupdate": True,
"autoupdate_timestamp": None,
"no_bridges": True,
"tor_bridges_use_obfs4": False,
"tor_bridges_use_meek_lite_azure": False,
"tor_bridges_use_custom_bridges": "",
- "use_legacy_v2_onions": False,
- "save_private_key": False,
- "private_key": "",
- "password": "",
- "hidservauth_string": "",
- "data_dir": os.path.expanduser("~/OnionShare"),
- "public_mode": False,
- "csp_header_disabled": False,
}
for key in settings_obj._settings:
# Skip locale, it will not always default to the same thing
@@ -125,8 +113,6 @@ class TestSettings:
assert settings_obj.get("socket_file_path") == "/var/run/tor/control"
assert settings_obj.get("auth_type") == "no_auth"
assert settings_obj.get("auth_password") == ""
- assert settings_obj.get("close_after_first_download") is True
- assert settings_obj.get("use_stealth") is False
assert settings_obj.get("use_autoupdate") is True
assert settings_obj.get("autoupdate_timestamp") is None
assert settings_obj.get("autoupdate_timestamp") is None