()
| 137 | # --------------------------------------------------------------------------- # |
| 138 | @pytest.mark.asyncio |
| 139 | async def test_run_command_success(): |
| 140 | result = await run_command( |
| 141 | dummy_async_command, |
| 142 | config_file="dummy.json", |
| 143 | servers=["S1"], |
| 144 | extra_params={"extra_arg": "foo"}, |
| 145 | ) |
| 146 | assert result == "ok-foo" |
| 147 | # ToolManager initialised & closed |
| 148 | tm = _ALL_TM[0] |
| 149 | assert tm.initialized and tm.closed |
| 150 | |
| 151 | |
| 152 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected