Skip to content

Commit 3729ad9

Browse files
mjnoviceclaude
andcommitted
fix: remove test passing None to non-nullable memory_space_id
The test_returns_none_when_no_space_id test passed None to _check_escalation_memory_cache which now requires str. The None guard is at the call site, so this test is no longer applicable. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 70e43a3 commit 3729ad9

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

tests/agent/tools/test_escalation_memory.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ def test_returns_none_when_no_space_id(self) -> None:
3333

3434

3535
class TestCheckEscalationMemoryCache:
36-
@pytest.mark.asyncio
37-
async def test_returns_none_when_no_space_id(self) -> None:
38-
result = await _check_escalation_memory_cache(None, {"key": "value"})
39-
assert result is None
40-
4136
@pytest.mark.asyncio
4237
@patch("uipath_langchain.agent.tools.escalation_tool.UiPath")
4338
async def test_returns_cached_answer(self, mock_uipath_cls: MagicMock) -> None:

0 commit comments

Comments
 (0)