fix: harden preprocessing state and child capabilities
This commit is contained in:
@@ -11,6 +11,14 @@ from tht.ports.vector import VectorStoreError
|
||||
from tht.vectorstore.embeddings import EmbeddingsError
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def _child_capability_for_pipeline_unit_tests(monkeypatch):
|
||||
# These tests exercise pipeline result/JSON behavior; process-boundary
|
||||
# authorization is covered by test_workspace_writer_lock.py.
|
||||
import tht.cli.preprocess_cmd as command
|
||||
monkeypatch.setattr(command, "_require_writer_capability", lambda **kwargs: None)
|
||||
|
||||
|
||||
def test_preprocess_evidence_json_is_pristine(monkeypatch, tmp_path):
|
||||
import tht.cli.preprocess_cmd as command
|
||||
|
||||
|
||||
Reference in New Issue
Block a user