def METHOD_NAME(self):
    dataset = self.build_animalpose_dataset()
    self.check_metainfo_keys(dataset.metainfo)
    # test dataset_name
    self.assertEqual(dataset.metainfo['dataset_name'], 'animalpose')
    # test number of keypoints
    num_keypoints = 20
    self.assertEqual(dataset.metainfo['num_keypoints'], num_keypoints)
    self.assertEqual(
        len(dataset.metainfo['keypoint_colors']), num_keypoints)
    self.assertEqual(
        len(dataset.metainfo['dataset_keypoint_weights']), num_keypoints)
    # note that len(sigmas) may be zero if dataset.metainfo['sigmas'] = []
    self.assertEqual(len(dataset.metainfo['sigmas']), num_keypoints)
    # test some extra metainfo
    self.assertEqual(
        len(dataset.metainfo['skeleton_links']),
        len(dataset.metainfo['skeleton_link_colors']))