This commit is contained in:
Taha 2026-09-01 16:03:30 -04:00 • committed by GitHub
commit c8d339036a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,6 +3,7 @@
from __future__ import annotations
import json
import os
from typing import TYPE_CHECKING
import pytest
@ -208,6 +209,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"