summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2019-09-01 21:22:59 -0700
committerMicah Lee <micah@micahflee.com>2019-09-01 21:22:59 -0700
commit877a73ab59e6903dcd3c56ee85d6136db5ea3bb3 (patch)
treeb6a415afe42baff4f167d671c36906b86c5fc367 /tests
parentd7a7538686e6b24aef7bae15d90b165df0bbf84c (diff)
downloadonionshare-877a73ab59e6903dcd3c56ee85d6136db5ea3bb3.tar.gz
onionshare-877a73ab59e6903dcd3c56ee85d6136db5ea3bb3.zip
Remove the "Allow downloading individual files" setting altogether, and make it just automatically enabled if "Stop sharing..." is disabled
Diffstat (limited to 'tests')
-rw-r--r--tests/GuiShareTest.py4
-rw-r--r--tests/test_onionshare_settings.py1
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/GuiShareTest.py b/tests/GuiShareTest.py
index 64e57b9f..70ae43fd 100644
--- a/tests/GuiShareTest.py
+++ b/tests/GuiShareTest.py
@@ -44,7 +44,7 @@ class GuiShareTest(GuiBaseTest):
self.file_selection_widget_has_files(0)
- def file_selection_widget_readd_files(self):
+ def file_selection_widget_read_files(self):
'''Re-add some files to the list so we can share'''
self.gui.share_mode.server_status.file_selection.file_list.add_file('/etc/hosts')
self.gui.share_mode.server_status.file_selection.file_list.add_file('/tmp/test.txt')
@@ -117,7 +117,7 @@ class GuiShareTest(GuiBaseTest):
self.history_is_visible(self.gui.share_mode)
self.deleting_all_files_hides_delete_button()
self.add_a_file_and_delete_using_its_delete_widget()
- self.file_selection_widget_readd_files()
+ self.file_selection_widget_read_files()
def run_all_share_mode_started_tests(self, public_mode, startup_time=2000):
diff --git a/tests/test_onionshare_settings.py b/tests/test_onionshare_settings.py
index 54c09686..05878899 100644
--- a/tests/test_onionshare_settings.py
+++ b/tests/test_onionshare_settings.py
@@ -51,7 +51,6 @@ class TestSettings:
'auth_type': 'no_auth',
'auth_password': '',
'close_after_first_download': True,
- 'share_allow_downloading_individual_files': True,
'autostop_timer': False,
'autostart_timer': False,
'use_stealth': False,