mirror of
https://github.com/yashshah9/agentbox.git
synced 2026-11-18 18:03:44 +00:00
Self-hosted agent code execution API with FastAPI, subprocess sandbox, Python SDK client, Docker Compose service, and unit tests.
10 lines
254 B
Python
10 lines
254 B
Python
"""Tests for SDK client."""
|
|
|
|
from agentbox.sdk.client import AgentboxClient
|
|
|
|
|
|
def test_client_instantiation() -> None:
|
|
client = AgentboxClient(base_url="http://localhost:8080")
|
|
assert client.base_url == "http://localhost:8080"
|
|
client.close()
|