mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-07-13 15:14:50 -06:00
chore: fix cli UT
PiperOrigin-RevId: 762734348
This commit is contained in:
parent
a134ba6f7a
commit
a380d70ac7
@ -80,6 +80,9 @@ def _patch_types_and_runner(monkeypatch: pytest.MonkeyPatch) -> None:
|
||||
response = _Content("assistant", [_Part(f"echo:{text}")])
|
||||
yield types.SimpleNamespace(author="assistant", content=response)
|
||||
|
||||
async def close(self, *a: Any, **k: Any) -> None:
|
||||
...
|
||||
|
||||
monkeypatch.setattr(cli, "Runner", _FakeRunner)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user