mirror of
https://github.com/onionshare/onionshare.git
synced 2025-04-15 13:23:01 -04:00
Fix test for Windows settings path
This commit is contained in:
parent
23897cfc06
commit
76de6c098e
@ -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…
x
Reference in New Issue
Block a user