code: def test_from_proto_success(self):
      # Test fields convert.
      owner_proto = model_card_pb2.Owner(
          name="my_name2", contact="my_contact2"
      )
      owner = model_card.Owner.from_proto(owner_proto)
      self.assertEqual(
          owner,
          model_card.Owner(name="my_name2", contact="my_contact2"),
      )
  
      # Test message convert.
      model_details_proto = model_card_pb2.ModelDetails(
          owners=[
              model_card_pb2.Owner(
                  name="my_name2", contact="my_contact2"
              )
          ]
      )
      model_details = model_card.ModelDetails.from_proto(
          model_details_proto
      )
      self.assertEqual(
          model_details,
          model_card.ModelDetails(
              owners=[
                  model_card.Owner(
                      name="my_name2", contact="my_contact2"
                  )
              ]
          ),
      )
  
imports: import json
  import os
  import pkgutil
  import jsonschema
  from absl.testing import absltest
  from google.protobuf import text_format
  from model_card_toolkit import model_card
  from model_card_toolkit.proto import model_card_pb2
label_desc: Use image node_id 4 for calling the ModelCardTest obj's underlying member method code with example usage: obj.test_from_proto_success() without return types