diff options
author | Micah Lee <micah@micahflee.com> | 2018-11-25 19:10:19 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2018-11-25 19:10:19 -0800 |
commit | 01baf3d6fde55a83368a85ace8632079ceb61c25 (patch) | |
tree | 241580590544dddc6e8ed747b3ec1aec919fd8a2 /tests | |
parent | db93734ed29cb37dece94ea26f9ffbe7574d82b7 (diff) | |
download | onionshare-01baf3d6fde55a83368a85ace8632079ceb61c25.tar.gz onionshare-01baf3d6fde55a83368a85ace8632079ceb61c25.zip |
Fix test for Windows settings path
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_onionshare_settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_onionshare_settings.py b/tests/test_onionshare_settings.py index 371b2d27..42bf7f12 100644 --- a/tests/test_onionshare_settings.py +++ b/tests/test_onionshare_settings.py @@ -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') |