Skip to content

Commit a380d70

Browse files
seanzhougooglecopybara-github
authored andcommitted
chore: fix cli UT
PiperOrigin-RevId: 762734348
1 parent a134ba6 commit a380d70

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/unittests/cli/utils/test_cli.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ async def run_async(self, *a: Any, **k: Any):
8080
response = _Content("assistant", [_Part(f"echo:{text}")])
8181
yield types.SimpleNamespace(author="assistant", content=response)
8282

83+
async def close(self, *a: Any, **k: Any) -> None:
84+
...
85+
8386
monkeypatch.setattr(cli, "Runner", _FakeRunner)
8487

8588

0 commit comments

Comments
 (0)