File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ def track_context_activation():
123123 context_activated = True
124124
125125 with patch ('cadence.worker._decision_task_handler.WorkflowEngine' , return_value = mock_engine ):
126- with patch ('cadence.worker._decision_task_handler .Context' ) as mock_context_class :
126+ with patch ('cadence._internal.workflow.workflow_engine .Context' ) as mock_context_class :
127127 mock_context = Mock ()
128128 mock_context ._activate = Mock (return_value = contextmanager (lambda : track_context_activation ())())
129129 mock_context_class .return_value = mock_context
@@ -239,7 +239,7 @@ def track_context_cleanup():
239239 context_cleaned_up = True
240240
241241 with patch ('cadence.worker._decision_task_handler.WorkflowEngine' , return_value = mock_engine ):
242- with patch ('cadence.worker._decision_task_handler .Context' ) as mock_context_class :
242+ with patch ('cadence._internal.workflow.workflow_engine .Context' ) as mock_context_class :
243243 mock_context = Mock ()
244244 mock_context ._activate = Mock (return_value = contextmanager (lambda : track_context_cleanup ())())
245245 mock_context_class .return_value = mock_context
You can’t perform that action at this time.
0 commit comments