mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-12 03:14:58 -04:00
Fix test for Windows settings path
This commit is contained in:
parent
db93734ed2
commit
01baf3d6fd
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class TestSettings:
|
|||
platform_windows):
|
||||
monkeypatch.setenv('APPDATA', 'C:')
|
||||
obj = settings.Settings(common.Common())
|
||||
assert obj.filename == 'C:\\OnionShare\\onionshare.json'
|
||||
assert obj.filename.replace('/', '\\') == 'C:\\OnionShare\\onionshare.json'
|
||||
|
||||
def test_set_custom_bridge(self, settings_obj):
|
||||
settings_obj.set('tor_bridges_use_custom_bridges', 'Bridge 45.3.20.65:9050 21300AD88890A49C429A6CB9959CFD44490A8F6E')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue