mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-11 02:45:03 -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
|
@ -148,7 +148,7 @@ class SettingsGuiBaseTest(object):
|
|||
self.assertFalse(self.gui.close_after_first_download_checkbox.isChecked())
|
||||
|
||||
# receive mode
|
||||
self.gui.downloads_dir_lineedit.setText('/tmp/OnionShareSettingsTest')
|
||||
self.gui.data_dir_lineedit.setText('/tmp/OnionShareSettingsTest')
|
||||
|
||||
|
||||
# bundled mode is enabled
|
||||
|
@ -234,7 +234,7 @@ class SettingsGuiBaseTest(object):
|
|||
self.assertFalse(data["save_private_key"])
|
||||
self.assertFalse(data["use_stealth"])
|
||||
|
||||
self.assertEqual(data["downloads_dir"], "/tmp/OnionShareSettingsTest")
|
||||
self.assertEqual(data["data_dir"], "/tmp/OnionShareSettingsTest")
|
||||
self.assertFalse(data["close_after_first_download"])
|
||||
self.assertEqual(data["connection_type"], "bundled")
|
||||
self.assertFalse(data["tor_bridges_use_obfs4"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue