mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-10 08:32:09 +00:00
test(yuanbao): add missing patch import to pipeline tests
The salvaged refactor's new tests use unittest.mock.patch (25 call sites) but the import line only brought in AsyncMock and MagicMock, so 10 of the new tests failed with NameError. Add patch to the import.
This commit is contained in:
parent
ffcd9d7ac7
commit
24a934295f
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ if _REPO_ROOT not in sys.path:
|
|||
sys.path.insert(0, _REPO_ROOT)
|
||||
|
||||
import pytest
|
||||
from unittest.mock import AsyncMock, MagicMock
|
||||
from unittest.mock import AsyncMock, MagicMock, patch
|
||||
|
||||
from gateway.platforms.yuanbao import (
|
||||
InboundContext,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue