code: def testConstruct_NoModelAndNoInfraBlessing_Fails(self):
      with self.assertRaisesRegex(
          ValueError,
          (
              "Either one of model or infra_blessing channel should be given"
          ),
      ):
          component.Pusher(
              # model=self._model,  # No model.
              model_blessing=self._model_blessing,
              # infra_blessing=self._infra_blessing,  # No infra_blessing.
              push_destination=self._push_destination,
          )
  
file_path: tfx/tfx/components/pusher/component_test.py
imports: import tensorflow
  from tfx.components.pusher import component
  from tfx.components.pusher import executor
  from tfx.dsl.components.base import executor_spec
  from tfx.orchestration import data_types
  from tfx.proto import pusher_pb2
  from tfx.types import channel_utils
  from tfx.types import standard_artifacts
  from tfx.types import standard_component_specs
label_desc: Use image node_id 7 for calling the ComponentTest obj's underlying member method code with example usage: obj.testConstruct_NoModelAndNoInfraBlessing_Fails() without return types