fix: logs and build
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import logging
|
||||
|
||||
from agentci.logging import configure_logging
|
||||
|
||||
|
||||
def test_suppresses_http_client_request_logs() -> None:
|
||||
configure_logging()
|
||||
|
||||
assert logging.getLogger("httpx").level == logging.WARNING
|
||||
assert logging.getLogger("httpcore").level == logging.WARNING
|
||||
@@ -29,7 +29,7 @@ def test_compose_removes_codex_sandbox_exceptions() -> None:
|
||||
|
||||
for forbidden in ("cap_add", "seccomp=unconfined", "apparmor=unconfined", "bubblewrap"):
|
||||
assert forbidden not in compose
|
||||
assert "no_cache: true" in compose
|
||||
assert "no_cache" not in compose
|
||||
assert "opencode_home:/var/lib/opencode" in compose
|
||||
assert "HOME: /etc/opencode/home" in compose
|
||||
assert "OPENCODE_DISABLE_EXTERNAL_SKILLS" in compose
|
||||
|
||||
Reference in New Issue
Block a user