code: def testResolveContainerTemplate(self):
      container_spec = executor_spec.ExecutorContainerSpec(
          image="gcr.io/my/trainer:{{exec_properties.version}}",
          command=["{{exec_properties.model}}_trainer"],
          args=[
              "--steps",
              "{{exec_properties.train_args.num_steps}}",
              "--examples",
              '{{input_dict["examples"]|join(",",attribute="uri")}}',
              "--model-path",
              '{{output_dict["model"][0].uri}}',
          ],
      )
      examples_artifact_1 = standard_artifacts.Examples()
      examples_artifact_1.uri = "gcs://examples/1"
      examples_artifact_2 = standard_artifacts.Examples()
      examples_artifact_2.uri = "gcs://examples/2"
      model = standard_artifacts.Model()
      model.uri = "gcs://model"
      input_dict = {
          "examples": [examples_artifact_1, examples_artifact_2]
      }
      output_dict = {"model": [model]}
      exec_properties = {
          "version": "v1",
          "model": "cnn",
          "train_args": trainer_pb2.TrainArgs(num_steps=10000),
      }
  
      actual_spec = container_common.resolve_container_template(
          container_spec, input_dict, output_dict, exec_properties
      )
  
      self.assertEqual("gcr.io/my/trainer:v1", actual_spec.image)
      self.assertListEqual(["cnn_trainer"], actual_spec.command)
      self.assertListEqual(
          [
              "--steps",
              "10000",
              "--examples",
              "gcs://examples/1,gcs://examples/2",
              "--model-path",
              "gcs://model",
          ],
          actual_spec.args,
      )
  
file_path: tfx/tfx/orchestration/launcher/container_common_test.py
imports: from kubernetes import client
  import tensorflow
  from tfx.dsl.components.base import executor_spec
  from tfx.orchestration.launcher import container_common
  from tfx.proto import trainer_pb2
  from tfx.types import standard_artifacts
label_desc: Use image node_id 1 for calling the ContainerUtilsTest obj's underlying member method code with example usage: obj.testResolveContainerTemplate() without return types