summaryrefslogtreecommitdiff
path: root/tests/unit/test_config.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-12-07 21:32:12 -0800
committerJohn L. Villalovos <john@sodarock.com>2021-12-07 21:32:12 -0800
commit5ec4ad08a1221d6967c9dad3dcc080da3aa571ba (patch)
treec56329c36231b267b0878dadf62576a250a0c020 /tests/unit/test_config.py
parent3a7d6f6b7d168f00513266f5770624158f49ca2c (diff)
downloadgitlab-jlvillal/windows.tar.gz
chore: add running unit tests on windows/macosjlvillal/windows
Add running the unit tests on windows-latest and macos-latest with Python 3.10.
Diffstat (limited to 'tests/unit/test_config.py')
-rw-r--r--tests/unit/test_config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/test_config.py b/tests/unit/test_config.py
index 2bc2d25..ffd67c4 100644
--- a/tests/unit/test_config.py
+++ b/tests/unit/test_config.py
@@ -17,6 +17,7 @@
import io
import os
+import sys
from textwrap import dedent
from unittest import mock
@@ -214,6 +215,7 @@ def test_valid_data(m_open, path_exists):
@mock.patch("os.path.exists")
@mock.patch("builtins.open")
+@pytest.mark.skipif(sys.platform.startswith("win"), reason="Not supported on Windows")
def test_data_from_helper(m_open, path_exists, tmp_path):
helper = tmp_path / "helper.sh"
helper.write_text(