mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-24 06:24:19 -04:00
Remove the "Allow downloading individual files" setting altogether, and make it just automatically enabled if "Stop sharing..." is disabled
This commit is contained in:
parent
1232eb1072
commit
113cd7eb4b
6 changed files with 4 additions and 34 deletions
|
@ -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):
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue