mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-10 18:35:08 -04:00
Fix tests to use data_dir setting instead of downloads_dir
This commit is contained in:
parent
303a2f9f34
commit
32c0c033d1
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