mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-25 00:02:25 +02:00
Squash Odysseus development history
This commit is contained in:
@@ -7,11 +7,19 @@ it silently inherits a run-long gate bypass.
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
import src.tool_capabilities as tool_capabilities
|
||||
from src.tool_approval_scopes import ToolApprovalScope
|
||||
from src.tool_approvals import ToolApprovalStore
|
||||
from src.tool_capabilities import ToolRunSecurityContext, capabilities_for_action
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def _enable_approval_gate_for_legacy_gate_tests(monkeypatch):
|
||||
monkeypatch.setattr(tool_capabilities, "TOOL_APPROVAL_GATE_ENABLED", True)
|
||||
|
||||
|
||||
def _pending(store: ToolApprovalStore, *, session_id=""):
|
||||
content = "printf exact"
|
||||
return store.create(
|
||||
|
||||
Reference in New Issue
Block a user