docstr: Tests that tags are provided.
docstr_tok: ["Tests","that","tags","are","provided","."]
code: def testTagsProvided(self):
      """Tests that tags are provided."""
      tags_response = self.plugin.tags_impl(
          context.RequestContext(), "123"
      )
  
      # Assert that the runs are right.
      self.assertCountEqual(
          ["colors", "mask_every_other_prediction"],
          list(tags_response.keys()),
      )
  
      # Assert that the tags for each run are correct.
      self.assertCountEqual(
          ["red/pr_curves", "green/pr_curves", "blue/pr_curves"],
          list(tags_response["colors"].keys()),
      )
      self.assertCountEqual(
          ["red/pr_curves", "green/pr_curves", "blue/pr_curves"],
          list(tags_response["mask_every_other_prediction"].keys()),
      )
  
      # Verify the data for each run-tag combination.
      self.assertDictEqual(
          {
              "displayName": "classifying red",
              "description": self.computeCorrectDescription(168),
          },
          tags_response["colors"]["red/pr_curves"],
      )
      self.assertDictEqual(
          {
              "displayName": "classifying green",
              "description": self.computeCorrectDescription(210),
          },
          tags_response["colors"]["green/pr_curves"],
      )
      self.assertDictEqual(
          {
              "displayName": "classifying blue",
              "description": self.computeCorrectDescription(252),
          },
          tags_response["colors"]["blue/pr_curves"],
      )
      self.assertDictEqual(
          {
              "displayName": "classifying red",
              "description": self.computeCorrectDescription(168),
          },
          tags_response["mask_every_other_prediction"]["red/pr_curves"],
      )
      self.assertDictEqual(
          {
              "displayName": "classifying green",
              "description": self.computeCorrectDescription(210),
          },
          tags_response["mask_every_other_prediction"][
              "green/pr_curves"
          ],
      )
      self.assertDictEqual(
          {
              "displayName": "classifying blue",
              "description": self.computeCorrectDescription(252),
          },
          tags_response["mask_every_other_prediction"][
              "blue/pr_curves"
          ],
      )
  
imports: import collections.abc
  import functools
  import os.path
  import numpy
  import tensorflow
  from tensorboard import context
  from tensorboard.backend.event_processing import plugin_event_multiplexer
  from tensorboard.backend.event_processing import data_provider
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.pr_curve import pr_curve_demo
  from tensorboard.plugins.pr_curve import pr_curves_plugin
label_desc: Use image node_id 5 for calling the PrCurvesPluginTest obj's underlying member method code with example usage: obj.testTagsProvided() without return types