Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
{
"id": null,
"args": {
"agent_name": "indentify_agent"
"agent_name": "identify_agent"
},
"name": "transfer_to_agent"
}
Expand Down
4 changes: 2 additions & 2 deletions tests/unittests/agents/test_remote_a2a_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ async def test_handle_a2a_response_success_with_message(self):

@pytest.mark.asyncio
async def test_handle_a2a_response_with_task_completed_and_no_update(self):
"""Test successful A2A response handling with non-streeaming task and no update."""
"""Test successful A2A response handling with non-streaming task and no update."""
mock_a2a_task = Mock(spec=A2ATask)
mock_a2a_task.id = "task-123"
mock_a2a_task.context_id = "context-123"
Expand Down Expand Up @@ -1149,7 +1149,7 @@ async def test_handle_a2a_response_success_with_message(self):

@pytest.mark.asyncio
async def test_handle_a2a_response_with_task_completed_and_no_update(self):
"""Test successful A2A response handling with non-streeaming task and no update."""
"""Test successful A2A response handling with non-streaming task and no update."""
mock_a2a_task = Mock(spec=A2ATask)
mock_a2a_task.id = "task-123"
mock_a2a_task.context_id = "context-123"
Expand Down
2 changes: 1 addition & 1 deletion tests/unittests/cli/test_fast_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ def test_update_session(test_app, create_test_session):


def test_patch_session_not_found(test_app, test_session_info):
"""Test patching a non-existent session."""
"""Test patching a nonexistent session."""
info = test_session_info
url = f"/apps/{info['app_name']}/users/{info['user_id']}/sessions/nonexistent"

Expand Down
2 changes: 1 addition & 1 deletion tests/unittests/cli/utils/test_agent_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ def test_special_agent_not_found_error(self):

loader = AgentLoader(str(regular_agents_dir))

# Try to load non-existent special agent
# Try to load nonexistent special agent
with pytest.raises(ValueError) as exc_info:
loader.load_agent("__nonexistent_special")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_init_with_sandbox_overrides_throws_error(self):
"""Tests that class attributes can be overridden at instantiation."""
with pytest.raises(ValueError):
AgentEngineSandboxCodeExecutor(
sandbox_resource_name="projects/123/locations/us-central1/reasoningEgines/456/sandboxes/789",
sandbox_resource_name="projects/123/locations/us-central1/reasoningEngines/456/sandboxes/789",
)

def test_init_with_agent_engine_overrides_throws_error(self):
Expand Down
2 changes: 1 addition & 1 deletion tests/unittests/evaluation/test_hallucinations_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def test_parse_sentences_with_newlines(self):
"""Tests _parse_sentences method with sentences containing newlines."""
text_with_newlines = """<sentence>This is a sentence with
\n\nnewlines.</sentence>
<sentence>This sentence will not be parsed</stenence>"""
<sentence>This sentence will not be parsed</sentence>"""
assert _parse_sentences(text_with_newlines) == [
"This is a sentence with\n\n\nnewlines."
]
Expand Down
2 changes: 1 addition & 1 deletion tests/unittests/telemetry/test_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async def test_tracer_start_as_current_span(

Additionally tests if each async generator invoked is wrapped in Aclosing.
This is necessary because instrumentation utilizes contextvars, which ran into "ContextVar was created in a different Context" errors,
when a given coroutine gets indeterminitely suspended.
when a given coroutine gets indeterminately suspended.
"""
firstiter, finalizer = sys.get_asyncgen_hooks()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ components:
requestId:
description: |-
The client-generated unique ID for this request.
Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
Clients should regenerate this ID for every new request. If an ID provided is the same as the previous request, the request is ignored.
type: string
status:
$ref: "#/components/schemas/ConferenceRequestStatus"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ async def test_get_valid_credentials_with_existing_non_oauth_creds(
"""Test that existing non-oauth credentials are returned immediately.

When credentials are of non-oauth type, no refresh or OAuth flow
is triggered irrespective of whether it is valid or not.
is triggered irrespective of whether or not it is valid.
"""
# Create mock credentials that are already valid
mock_creds = Mock(spec=AuthCredentials)
Expand Down
Loading