Skip to content

Commit 7b6f35c

Browse files
committed
fix: unit tests and linter
1 parent 0ca6840 commit 7b6f35c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/uipath_langchain/agent/tools/tool_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ async def _afunc(self, state: AgentGraphState) -> OutputType:
135135
inputs = self._prepare_wrapper_inputs(
136136
self.awrapper, self.tool, call, state
137137
)
138-
138+
139139
result = await self.awrapper(*inputs)
140140
else:
141141
result = await self.tool.ainvoke(call)

tests/agent/tools/test_durable_interrupt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ def start_job() -> str:
537537
return action()
538538

539539
add_interrupt_offset()
540-
result = start_job()
540+
start_job()
541541

542542
action.assert_called_once()
543543
mock_interrupt.assert_called_once_with("job-started")
@@ -646,7 +646,7 @@ def start_job() -> str:
646646

647647
add_interrupt_offset() # first confirmation
648648
add_interrupt_offset() # second confirmation
649-
result = start_job()
649+
start_job()
650650

651651
action.assert_called_once() # idx=2, 2 < 2 → False → body runs
652652
mock_interrupt.assert_called_once_with("job-started")

0 commit comments

Comments
 (0)