class_docstr: Tests for Wordnet dataset.
class_docstr_tok: ["Tests","for","Wordnet","dataset","."]
docstr: After downloading, metadata should be populated.
docstr_tok: ["After","downloading",",","metadata","should","be","populated","."]
code: def test_info_after_download_and_prepare(self):
      """After downloading, metadata should be populated."""
      for config in self.builder.BUILDER_CONFIGS:
          with self._subTest(config.name):
              builder = self._make_builder(config=config)
              self._download_and_prepare_as_dataset(builder)
              self.assertEqual(
                  builder.info.metadata["synsets"]["07491708"]["name"],
                  "__enjoyment_NN_1",
              )
              self.assertEqual(
                  builder.info.metadata["synsets"]["08769179"][
                      "definition"
                  ],
                  (
                      "an area in Germany around the upper Elbe river; "
                      "the original home of the Saxons"
                  ),
              )
  
imports: import tensorflow_datasets.public_api
  from tensorflow_datasets.text import wordnet
label_desc: Use image node_id 2 for calling the WordnetTest obj's underlying member method code with example usage: obj.test_info_after_download_and_prepare() without return types