feat: claude code runner (#9)

This commit is contained in:
banteg
2026-01-01 17:04:49 +04:00
committed by GitHub
parent 4885e3b878
commit 936ea5109b
30 changed files with 2259 additions and 382 deletions
+3 -3
View File
@@ -2,7 +2,7 @@ import sys
import pytest
from takopi.runners import codex
from takopi.utils import subprocess as subprocess_utils
@pytest.mark.anyio
@@ -13,9 +13,9 @@ async def test_manage_subprocess_kills_when_terminate_times_out(
_ = timeout
return True
monkeypatch.setattr(codex, "_wait_for_process", fake_wait_for_process)
monkeypatch.setattr(subprocess_utils, "wait_for_process", fake_wait_for_process)
async with codex.manage_subprocess(
async with subprocess_utils.manage_subprocess(
sys.executable,
"-c",
"import signal, time; signal.signal(signal.SIGTERM, signal.SIG_IGN); time.sleep(10)",