async def mock_update_status_activity(*args, **kwargs):
                """This should NOT be called for successful completion."""
                nonlocal error_status_update_called
                error_status_update_called = True
                pytest.fail("Error status update should not be called for successful workflow")
This should NOT be called for successful completion.
backend/tests/integration/temporal/test_workflow_cancellation.py