diff options
author | Micah Lee <micah@micahflee.com> | 2020-08-21 19:34:00 -0400 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2020-08-21 19:34:00 -0400 |
commit | 9b78f23ca32feebeec4c866e6a53cd6535c0ebd9 (patch) | |
tree | 05633c0b808897ee628d7ffa607a8c5bf001fdd8 /tests | |
parent | 15f7d196708f71c862298999cb61e16333ce8c02 (diff) | |
download | onionshare-9b78f23ca32feebeec4c866e6a53cd6535c0ebd9.tar.gz onionshare-9b78f23ca32feebeec4c866e6a53cd6535c0ebd9.zip |
Skip receive mode file permission tests in Windows
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_gui_receive.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_gui_receive.py b/tests/test_gui_receive.py index bd9cf491..d9501460 100644 --- a/tests/test_gui_receive.py +++ b/tests/test_gui_receive.py @@ -2,6 +2,7 @@ import pytest import os import requests import shutil +import sys from datetime import datetime, timedelta from PyQt5 import QtCore, QtTest @@ -213,6 +214,7 @@ class TestReceive(GuiBaseTest): self.close_all_tabs() @pytest.mark.gui + @pytest.mark.skipif(sys.platform == "win32", reason="Windows doesn't have chmod") def test_upload_non_writable_dir(self): """ Test uploading files to a non-writable directory @@ -237,6 +239,7 @@ class TestReceive(GuiBaseTest): self.close_all_tabs() @pytest.mark.gui + @pytest.mark.skipif(sys.platform == "win32", reason="Windows doesn't have chmod") def test_public_upload_non_writable_dir(self): """ Test uploading files to a non-writable directory in public mode |