mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-04 21:09:18 -04:00
Change code doc from 'Delete All' to 'Clear All' and remove whitespace in test
This commit is contained in:
parent
1632a00a91
commit
327747fa3f
3 changed files with 2 additions and 3 deletions
|
@ -396,7 +396,7 @@ class ShareMode(Mode):
|
||||||
|
|
||||||
def clear_all(self):
|
def clear_all(self):
|
||||||
"""
|
"""
|
||||||
Delete All button clicked
|
Clear All button clicked
|
||||||
"""
|
"""
|
||||||
self.file_selection.file_list.clear()
|
self.file_selection.file_list.clear()
|
||||||
self.file_selection.file_list.files_updated.emit()
|
self.file_selection.file_list.files_updated.emit()
|
||||||
|
|
|
@ -301,7 +301,7 @@ class WebsiteMode(Mode):
|
||||||
|
|
||||||
def clear_all(self):
|
def clear_all(self):
|
||||||
"""
|
"""
|
||||||
Delete All button clicked
|
Clear All button clicked
|
||||||
"""
|
"""
|
||||||
self.file_selection.file_list.clear()
|
self.file_selection.file_list.clear()
|
||||||
self.file_selection.file_list.files_updated.emit()
|
self.file_selection.file_list.files_updated.emit()
|
||||||
|
|
|
@ -412,7 +412,6 @@ class TestShare(GuiBaseTest):
|
||||||
|
|
||||||
self.close_all_tabs()
|
self.close_all_tabs()
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.gui
|
@pytest.mark.gui
|
||||||
def test_public_mode(self):
|
def test_public_mode(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue