code: def test_update_data_capture_config():
      predictor = empty_predictor()
      predictor_async = AsyncPredictor(predictor=predictor)
  
      data_capture_config = Mock(name="data_capture_config")
      predictor_async.update_data_capture_config(
          data_capture_config=data_capture_config
      )
      predictor.update_data_capture_config.assert_called_with(
          data_capture_config
      )
  
imports: from __future__ import absolute_import
  import pytest
  from mock import Mock
  from sagemaker.async_inference.waiter_config import WaiterConfig
  from sagemaker.predictor import Predictor
  from sagemaker.predictor_async import AsyncPredictor
  from sagemaker.exceptions import AsyncInferenceModelError, PollingTimeoutError
label_desc: Use image node_id 21 for calling a global function with example usage: test_update_data_capture_config() without return types