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.
fix/verification-admin-route-recovery
teknium1 2026-06-09 01:59:13 -07:00 committed by Teknium
parent ffcd9d7ac7
commit 24a934295f
1 changed files with 1 additions and 1 deletions

View File

@ -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,