Skip to content

Commit e02576e

Browse files
committed
minor lint
Signed-off-by: Tim Li <[email protected]>
1 parent 992534f commit e02576e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/cadence/_internal/workflow/test_workflow_engine_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"""
55

66
import pytest
7-
from unittest.mock import Mock, AsyncMock, patch
7+
from unittest.mock import Mock, patch
88
from cadence.api.v1.service_worker_pb2 import PollForDecisionTaskResponse
99
from cadence.api.v1.common_pb2 import Payload, WorkflowExecution, WorkflowType
1010
from cadence.api.v1.history_pb2 import (
@@ -244,7 +244,7 @@ async def test_extract_workflow_input_deserialization_error(
244244
decision_task = self.create_mock_decision_task()
245245

246246
# Mock data converter to raise an exception
247-
mock_client.data_converter.from_data = AsyncMock(
247+
mock_client.data_converter.from_data = Mock(
248248
side_effect=Exception("Deserialization error")
249249
)
250250

0 commit comments

Comments
 (0)