CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.
Python agent-frameworkagent-harnessagent-runtimeagentic-aiai-agentsai-frameworkanthropicharnessharness-engineeringharness-frameworklanggraphlanggraph-alternativellmmcpopenaipi-agentpi-agent-corepythonpython-agent
style: fix ruff formatting in test files
xf gonga6e73b0403ac
diff --git a/tests/providers/test_openai.py b/tests/providers/test_openai.pyindex aaf2a87..f27ee12 100644--- a/tests/providers/test_openai.py+++ b/tests/providers/test_openai.py@@ -49,10 +49,12 @@ class TestOpenAIMessageConversion:class TestOpenAIImageConversion:def test_user_message_with_image(self):- msg = UserMessage(content=[- TextContent(text="What's in this image?"),- ImageContent(source="base64data", media_type="image/png"),- ])+ msg = UserMessage(+ content=[+ TextContent(text="What's in this image?"),+ ImageContent(source="base64data", media_type="image/png"),+ ]+ )result = OpenAIProvider._convert_message(msg)assert result["role"] == "user"assert isinstance(result["content"], list)diff --git a/tests/providers/test_openai_responses.py b/tests/providers/test_openai_responses.pyindex 8dbdb83..f90286e 100644--- a/tests/providers/test_openai_responses.py+++ b/tests/providers/test_openai_responses.py@@ -147,10 +147,12 @@ class TestBuildInput:class TestOpenAIResponsesImageConversion:def test_user_message_with_image(self):- msg = UserMessage(content=[- TextContent(text="Describe this"),- ImageContent(source="imgdata", media_type="image/jpeg"),- ])+ msg = UserMessage(+ content=[+ TextContent(text="Describe this"),+ ImageContent(source="imgdata", media_type="image/jpeg"),+ ]+ )result = OpenAIResponsesProvider._build_input([msg])assert len(result) == 1assert result[0]["role"] == "user"