code: def test_sanity(self):
      metadata = dataset_metadata.DatasetMetadata.from_feature_spec(
          test_common.test_feature_spec
      )
      self.assertEqual(metadata.schema, test_common.get_test_schema())
  
imports: from tensorflow_transform.tf_metadata import test_common
  from tensorflow_transform.tf_metadata import dataset_metadata
  import unittest
label_desc: Use image node_id 1 for calling the DatasetSchemaTest obj's underlying member method code with example usage: obj.test_sanity() without return types