code: def setUp(self):
      super().setUp()
      tf.compat.v1.reset_default_graph()
  
      # Prepares model directory, and train and eval data.
      self._model_dir = tf.compat.v1.test.get_temp_dir() + "/model/"
      tf.io.gfile.makedirs(self._model_dir)
      self._data_file = os.path.join(self._model_dir, "elwc.tfrecord")
      _write_tfrecord_files(self._data_file)
      self._asset_file = os.path.join(self._model_dir, "some_assets")
      self._asset_content = "some_content"
      _write_assets(self._asset_file, self._asset_content)
  
imports: import os
  from absl.testing import parameterized
  import tensorflow
  from tensorflow import estimator
  import tensorflow_ranking
  from google.protobuf import text_format
  from tensorflow_ranking.extension import pipeline
  from tensorflow_serving.apis import input_pb2
label_desc: Use image node_id 1 for calling the RankingPipelineIntegrationTest obj's underlying member method code with example usage: obj.setUp() without return types