Skip to content

Commit ed2feaa

Browse files
committed
test: add emit_exchange_error_event to MockChatBridge
uipath-runtime 0.10.x added this method to UiPathChatProtocol; the test mock was missing it, breaking mypy on the bumped runtime.
1 parent c480c64 commit ed2feaa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/uipath-agent-framework/tests/test_hitl_e2e.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ async def emit_interrupt_event(self, resume_trigger: UiPathResumeTrigger) -> Non
8787
async def emit_exchange_end_event(self) -> None:
8888
pass
8989

90+
async def emit_exchange_error_event(self, error: Exception) -> None:
91+
pass
92+
9093
async def wait_for_resume(self) -> dict[str, Any]:
9194
"""Return CAS-format approval/rejection response."""
9295
return {

0 commit comments

Comments
 (0)