File tree Expand file tree Collapse file tree
toolbox-adk/tests/integration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ class TestToolboxAdkIntegration:
5252 async def test_load_toolset_and_run (self ):
5353 # Auth: TOOLBOX_IDENTITY for simplicity in this local test as we don't have ADK identity setup.
5454
55+ # Note: The STABLE URL passed here is automatically patched by the
56+ # 'patch_toolbox_client_url' fixture to run against both
57+ # the STABLE (5000) and DRAFT (5001) servers.
5558 toolset = ToolboxToolset (
5659 server_url = TOOLBOX_SERVER_URL_STABLE ,
5760 toolset_name = "my-toolset" ,
Original file line number Diff line number Diff line change 3131@pytest_asyncio .fixture (scope = "function" )
3232async def toolbox ():
3333 """Creates a ToolboxClient instance shared by all tests in this module."""
34+ # Note: The STABLE URL passed here is automatically patched by the
35+ # 'patch_toolbox_client_url' fixture to run against both
36+ # the STABLE (5000) and DRAFT (5001) servers.
3437 toolbox = ToolboxClient (TOOLBOX_SERVER_URL_STABLE , protocol = Protocol .MCP )
3538 try :
3639 yield toolbox
Original file line number Diff line number Diff line change 3333)
3434async def toolbox (request ):
3535 """Creates a ToolboxClient instance shared by all tests in this module."""
36+ # Note: The STABLE URL passed here is automatically patched by the
37+ # 'patch_toolbox_client_url' fixture to run against both
38+ # the STABLE (5000) and DRAFT (5001) servers.
3639 toolbox = ToolboxClient (TOOLBOX_SERVER_URL_STABLE , protocol = Protocol (request .param ))
3740 try :
3841 yield toolbox
Original file line number Diff line number Diff line change 2525@pytest .fixture (scope = "module" )
2626def toolbox ():
2727 """Creates a ToolboxSyncClient instance shared by all tests in this module."""
28+ # Note: The STABLE URL passed here is automatically patched by the
29+ # 'patch_toolbox_client_url' fixture to run against both
30+ # the STABLE (5000) and DRAFT (5001) servers.
2831 toolbox = ToolboxSyncClient (TOOLBOX_SERVER_URL_STABLE )
2932 try :
3033 yield toolbox
Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ class TestE2EClientAsync:
5151 @pytest .fixture (scope = "function" )
5252 def toolbox (self ):
5353 """Provides a ToolboxClient instance for each test."""
54+ # Note: The STABLE URL passed here is automatically patched by the
55+ # 'patch_toolbox_client_url' fixture to run against both
56+ # the STABLE (5000) and DRAFT (5001) servers.
5457 toolbox = ToolboxClient (TOOLBOX_SERVER_URL_STABLE )
5558 return toolbox
5659
@@ -206,6 +209,9 @@ class TestE2EClientSync:
206209 @pytest .fixture (scope = "session" )
207210 def toolbox (self ):
208211 """Provides a ToolboxClient instance for each test."""
212+ # Note: The STABLE URL passed here is automatically patched by the
213+ # 'patch_toolbox_client_url' fixture to run against both
214+ # the STABLE (5000) and DRAFT (5001) servers.
209215 toolbox = ToolboxClient (TOOLBOX_SERVER_URL_STABLE )
210216 return toolbox
211217
Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ class TestE2EClientAsync:
5151 @pytest .fixture (scope = "function" )
5252 def toolbox (self ):
5353 """Provides a ToolboxClient instance for each test."""
54+ # Note: The STABLE URL passed here is automatically patched by the
55+ # 'patch_toolbox_client_url' fixture to run against both
56+ # the STABLE (5000) and DRAFT (5001) servers.
5457 toolbox = ToolboxClient (TOOLBOX_SERVER_URL_STABLE )
5558 return toolbox
5659
@@ -206,6 +209,9 @@ class TestE2EClientSync:
206209 @pytest .fixture (scope = "session" )
207210 def toolbox (self ):
208211 """Provides a ToolboxClient instance for each test."""
212+ # Note: The STABLE URL passed here is automatically patched by the
213+ # 'patch_toolbox_client_url' fixture to run against both
214+ # the STABLE (5000) and DRAFT (5001) servers.
209215 toolbox = ToolboxClient (TOOLBOX_SERVER_URL_STABLE )
210216 return toolbox
211217
You can’t perform that action at this time.
0 commit comments