code: def testDoBlessed(self):
      # Prepare blessed ModelBlessing.
      self._model_blessing.uri = os.path.join(
          self._source_data_dir, "model_validator/blessed"
      )
      self._model_blessing.set_int_custom_property("blessed", 1)
  
      # Run executor with blessed.
      self._executor.Do(
          self._input_dict, self._output_dict, self._exec_properties
      )
  
      # Check model successfully pushed.
      self.assertPushed()
      version = self._model_push.get_string_custom_property(
          "pushed_version"
      )
      self.assertTrue(version.isdigit())
      self.assertEqual(
          self._model_push.get_string_custom_property(
              "pushed_destination"
          ),
          os.path.join(self._serving_model_dir, version),
      )
  
imports: import json
  import os
  import tensorflow
  from tfx.components.pusher import executor
  from tfx.dsl.io import fileio
  from tfx.types import standard_artifacts
  from tfx.types import standard_component_specs
  from tfx.utils import io_utils
  from tfx.utils import path_utils
label_desc: Use image node_id 7 for calling the ExecutorTest obj's underlying member method code with example usage: obj.testDoBlessed() without return types