Skip to content

Commit 4585b3d

Browse files
committed
style: fix pyink formatting in test file
1 parent f9ac5d9 commit 4585b3d

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

tests/unittests/flows/llm_flows/test_contents_function.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -917,9 +917,10 @@ async def test_long_running_tool_not_detected_as_orphaned():
917917
for content in llm_request.contents:
918918
for part in content.parts:
919919
if part.function_response:
920-
assert part.function_response.response != contents._ORPHANED_CALL_ERROR_RESPONSE, (
921-
"Long-running tool should not be treated as orphaned"
922-
)
920+
assert (
921+
part.function_response.response
922+
!= contents._ORPHANED_CALL_ERROR_RESPONSE
923+
), "Long-running tool should not be treated as orphaned"
923924

924925

925926
@pytest.mark.asyncio
@@ -976,9 +977,9 @@ async def test_mixed_long_running_and_orphaned_calls():
976977
}
977978

978979
# Only orphaned_call should have synthetic response
979-
assert "orphaned_call" in response_ids, (
980-
"Genuine orphaned call should be healed"
981-
)
982-
assert "long_running_call" not in response_ids, (
983-
"Long-running call should NOT be healed"
984-
)
980+
assert (
981+
"orphaned_call" in response_ids
982+
), "Genuine orphaned call should be healed"
983+
assert (
984+
"long_running_call" not in response_ids
985+
), "Long-running call should NOT be healed"

0 commit comments

Comments
 (0)