mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-10-26 13:16:24 +00:00
test(backend): skip the POSIX-only output-capture boundary test on Windows (#7013)
This commit is contained in:
parent
86e64f2a95
commit
7e22e42365
@ -1,5 +1,7 @@
|
||||
"""Immutable file versions and run-bound configuration evidence."""
|
||||
|
||||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@ -51,6 +53,7 @@ def test_artifact_versions_are_append_only_and_owner_scoped(tmp_path, monkeypatc
|
||||
store.capture_artifact("alice", "workflow", "step", "report.pdf", b"overwrite")
|
||||
|
||||
|
||||
@pytest.mark.skipif(os.name == "nt", reason="output capture is POSIX-only (dir_fd and O_NOFOLLOW)")
|
||||
def test_host_output_capture_rejects_unsafe_files(tmp_path, monkeypatch):
|
||||
from types import SimpleNamespace
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user