Fix tests to use data_dir setting instead of downloads_dir

This commit is contained in:
Micah Lee 2019-01-20 12:01:51 -08:00
parent 6e3b103ef5
commit 53ec2176c1
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
5 changed files with 29 additions and 31 deletions

View file

@ -64,7 +64,7 @@ class TestSettings:
'private_key': '',
'slug': '',
'hidservauth_string': '',
'downloads_dir': os.path.expanduser('~/OnionShare'),
'data_dir': os.path.expanduser('~/OnionShare'),
'public_mode': False
}
for key in settings_obj._settings: