mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-04 23:45:04 -04:00
Fix tests to use data_dir setting instead of downloads_dir
This commit is contained in:
parent
6e3b103ef5
commit
53ec2176c1
5 changed files with 29 additions and 31 deletions
|
@ -21,7 +21,7 @@ class GuiReceiveTest(GuiBaseTest):
|
|||
for i in range(10):
|
||||
date_dir = now.strftime("%Y-%m-%d")
|
||||
time_dir = now.strftime("%H.%M.%S")
|
||||
receive_mode_dir = os.path.join(self.gui.common.settings.get('downloads_dir'), date_dir, time_dir)
|
||||
receive_mode_dir = os.path.join(self.gui.common.settings.get('data_dir'), date_dir, time_dir)
|
||||
expected_filename = os.path.join(receive_mode_dir, expected_basename)
|
||||
if os.path.exists(expected_filename):
|
||||
exists = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue