8000 tests: Add unit tests for mcp_tool by pkduongsu · Pull Request #663 · google/adk-python · GitHub
[go: up one dir, main page]

Skip to content

tests: Add unit tests for mcp_tool #663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 44 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
683e86d
add unit_test for mcptool and mcptoolset
pkduongsu May 10, 2025
8faa342
split mcp_tool and mcp_toolset tests
pkduongsu May 10, 2025
a6b0ad1
add conversion utils tests
pkduongsu May 10, 2025
88a8f51
Merge branch 'main' into mcp-unit-tests
pkduongsu May 11, 2025
c4a23d9
fix import
pkduongsu May 14, 2025
e035f22
Merge branch 'mcp-unit-tests' of https://github.com/pkduongsu/adk-pyt…
pkduongsu May 14, 2025
df1658b
merge branch 'mcp-unit-tests'
pkduongsu May 14, 2025
cec6595
Delete uv.lock
pkduongsu May 14, 2025
b5adaf8
Merge branch 'main' of https://github.com/pkduongsu/adk-python into m…
pkduongsu May 14, 2025
d144074
Merge branch 'main' into mcp-unit-tests
pkduongsu May 14, 2025
f2e0dd4
Merge branch 'main' into mcp-unit-tests
pkduongsu May 14, 2025
b60a979
Delete src/google/adk/models/gemini_llm_connection.py
pkduongsu May 15, 2025
a43efc8
Delete src/google/adk/sessions/in_memory_session_service.py
pkduongsu May 15, 2025
e0896c4
Delete src/google/adk/tools/mcp_tool/mcp_toolset.py
pkduongsu May 15, 2025
cb7ac8e
Delete tests/unittests/cli/utils/test_cli_tools_click.py
pkduongsu May 15, 2025
12c77c2
put files under mcp_tool folder
pkduongsu May 15, 2025
f9165b9
Merge branch 'mcp-unit-tests' of https://github.com/pkduongsu/adk-pyt…
pkduongsu May 15, 2025
752bbc1
add tests for mcp toolset and mcp tool
pkduongsu May 15, 2025
5504b79
Merge branch 'mcp-unit-tests' of https://github.com/pkduongsu/adk-pyt…
pkduongsu May 15, 2025
fdbf7fe
put files under mcp_tool folder
pkduongsu May 15, 2025
05cea2b
Merge branch 'mcp-unit-tests' of https://github.com/pkduongsu/adk-pyt…
pkduongsu May 15, 2025
42fc674
add tests for mcp_tool, mcp_toolset, conversion_utils
pkduongsu May 15, 2025
17874f9
Merge pull request #1 from pkduongsu/recovery-branch
pkduongsu May 15, 2025
8a673f9
update
pkduongsu May 15, 2025
8ca465a
update branch
pkduongsu May 15, 2025
60a976a
Merge branch 'mcp-unit-tests' of https://github.com/pkduongsu/adk-pyt…
pkduongsu May 15, 2025
a50d9e5
remove duplicate file
pkduongsu May 15, 2025
c86c0ad
Merge branch 'google:main' into mcp-unit-tests
pkduongsu May 15, 2025
5089008
Merge branch 'google:main' into mcp-unit-tests
pkduongsu May 16, 2025
19bfb19
improve test_coverage, fix test_mcp_toolset to match new refactored ver
pkduongsu May 16, 2025
8c76197
"revert changes for mcp_session_manager"
pkduongsu May 16, 2025
f80ccf7
Merge branch 'google:main' into mcp-unit-tests
pkduongsu May 19, 2025
9695052
Merge branch 'google:main' into mcp-unit-tests
pkduongsu May 21, 2025
e5d18b5
Merge branch 'main' into mcp-unit-tests
pkduongsu May 22, 2025
a49237a
Merge branch 'main' into mcp-unit-tests
pkduongsu May 27, 2025
d6a26bd
Merge branch 'main' into mcp-unit-tests
hangfei May 30, 2025
4f61621
Merge branch 'main' into mcp-unit-tests
hangfei Jun 12, 2025
c0e1368
Merge branch 'google:main' into mcp-unit-tests
pkduongsu Jun 16, 2025
71bf490
remove python 3.9 test
pkduongsu Jun 16, 2025
0a5321a
Merge branch 'main' into mcp-unit-tests
pkduongsu Jul 11, 2025
e5372c6
Remove old test_mcp_tool
pkduongsu Jul 11, 2025
68dd494
'remove old tests'
pkduongsu Jul 11, 2025
842c8a0
Merge branch 'mcp-unit-tests' of https://github.com/pkduongsu/adk-pyt…
pkduongsu Jul 11, 2025
891afb4
Merge branch 'main' into mcp-unit-tests
hangfei Jul 18, 2025
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
Prev Previous commit
Next Next commit
fix import
  • Loading branch information
pkduongsu committed May 14, 2025
commit c4a23d91d6b47c1af25f985bdac249ff22f43212
2 changes: 1 addition & 1 deletion tests/unittests/tools/test_mcp_toolset.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
from unittest.mock import MagicMock, AsyncMock

from google.adk.tools.mcp_tool import MCPToolset
from google.adk.tools.mcp_tool.mcp_toolset import MCPToolset
from google.adk.tools.mcp_tool import MCPTool

@pytest.mark.asyncio
Expand Down
0