code: def testLatestPolicyModelOpTest_RaisesSkipSignal(self):
      with self.assertRaises(exceptions.SkipSignal):
          test_utils.run_resolver_op(
              ops.LatestPolicyModel,
              {},
              policy=_LATEST_EXPORTED,
              raise_skip_signal=True,
              context=resolver_op.Context(store=self.store),
          )
  
          # Keys present in input_dict but contains no artifacts.
          self._latest_policy_model(_LATEST_EXPORTED, model=[])
          self._latest_policy_model(
              _LATEST_EVALUATOR_BLESSED, model_blessing=[]
          )
          self._latest_policy_model(
              _LATEST_INFRA_VALIDATOR_BLESSED, model_infra_blessing=[]
          )
          self._latest_policy_model(
              _LATEST_BLESSED,
              model_blessing=[],
              model_infra_blessing=[],
          )
  
          # Models present in input_dict but none of them meet the specified policy.
          self._latest_policy_model(_LATEST_EVALUATOR_BLESSED)
          self._latest_policy_model(_LATEST_INFRA_VALIDATOR_BLESSED)
          self._latest_policy_model(_LATEST_BLESSED)
          self._latest_policy_model(_LATEST_PUSHED)
  
imports: from typing import Dict, List, Optional
  from absl.testing import parameterized
  import tensorflow
  from tfx import types
  from tfx.dsl.input_resolution import resolver_op
  from tfx.dsl.input_resolution.ops import latest_policy_model_op
  from tfx.dsl.input_resolution.ops import ops
  from tfx.dsl.input_resolution.ops import test_utils
  from tfx.orchestration.portable.input_resolution import exceptions
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 5 for calling the LatestPolicyModelOpTest obj's underlying member method code with example usage: obj.testLatestPolicyModelOpTest_RaisesSkipSignal() without return types