Skip to content

Commit 23c332a

Browse files
committed
fix(test): test_cloud typer dependency
1 parent 4b85e11 commit 23c332a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_cloud.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@
1515
import os
1616
import tempfile
1717
import pytest
18+
import sys
19+
1820
from unittest.mock import Mock, patch, AsyncMock
1921

20-
from veadk.cloud.cloud_agent_engine import CloudAgentEngine
22+
sys.modules["typer"] = Mock()
23+
24+
from veadk.cloud.cloud_agent_engine import CloudAgentEngine # noqa: E402
2125

2226

2327
@pytest.mark.asyncio

0 commit comments

Comments
 (0)