MCPcopy Create free account
hub / github.com/bytedance/trae-agent / asyncTearDown

Method asyncTearDown

tests/tools/test_bash_tool.py:14–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12 self.tool = BashTool()
13
14 async def asyncTearDown(self):
15 # Cleanup any active session
16 if self.tool._session:
17 await self.tool._session.stop()
18
19 async def test_tool_initialization(self):
20 self.assertEqual(self.tool.get_name(), "bash")

Callers

nothing calls this directly

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected