From f6f1963859200e1459816ee6276d88578c8dc8c6 Mon Sep 17 00:00:00 2001 From: Stark Date: Sun, 12 Jul 2026 00:35:18 +0500 Subject: [PATCH] fix: skip Unix permission test on Windows (#648) --- tests/test_config_loader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_config_loader.py b/tests/test_config_loader.py index be0bfb8f7..7424ba163 100644 --- a/tests/test_config_loader.py +++ b/tests/test_config_loader.py @@ -3,6 +3,7 @@ from __future__ import annotations import json +import os from typing import TYPE_CHECKING import pytest @@ -199,6 +200,7 @@ def test_persist_current_writes_env_block(tmp_path: Path, monkeypatch: pytest.Mo } +@pytest.mark.skipif(os.name == "nt", reason="Unix file permissions not supported on Windows") def test_persist_current_sets_0600_mode(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None: monkeypatch.setenv("STRIX_LLM", "persisted-model") target = tmp_path / "cli-config.json"