code: def test_create_custom_tag_command(self):
      example_dashboard = (
          db.session.query(Dashboard)
          .filter_by(slug="world_health")
          .one()
      )
      example_tags = [
          "create custom tag example 1",
          "create custom tag example 2",
      ]
      command = CreateCustomTagCommand(
          ObjectType.dashboard.value, example_dashboard.id, example_tags
      )
      command.run()
  
      created_tags = (
          db.session.query(Tag)
          .join(TaggedObject)
          .filter(
              TaggedObject.object_id == example_dashboard.id,
              Tag.type == TagType.custom,
          )
          .all()
      )
      assert example_tags == [tag.name for tag in created_tags]
  
      # cleanup
      tags = db.session.query(Tag).filter(Tag.name.in_(example_tags))
      db.session.query(TaggedObject).filter(
          TaggedObject.tag_id.in_([tag.id for tag in tags])
      ).delete()
      tags.delete()
      db.session.commit()
  
imports: import itertools
  from unittest.mock import MagicMock, patch
  import pytest
  import yaml
  from werkzeug.utils import secure_filename
  from superset import db, security_manager
  from superset.commands.dashboard.exceptions import DashboardNotFoundError
  from superset.commands.dashboard.export import append_charts, ExportDashboardsCommand, get_default_position
  from superset.commands.dashboard.importers import v0, v1
  from superset.commands.exceptions import CommandInvalidError
  from superset.commands.importers.exceptions import IncorrectVersionError
  from superset.commands.tag.create import CreateCustomTagCommand
  from superset.commands.tag.delete import DeleteTaggedObjectCommand, DeleteTagsCommand
  from superset.connectors.sqla.models import SqlaTable
  from superset.models.core import Database
  from superset.models.dashboard import Dashboard
  from superset.models.slice import Slice
  from superset.tags.models import ObjectType, Tag, TaggedObject, TagType
  from tests.integration_tests.base_tests import SupersetTestCase
  from tests.integration_tests.fixtures.importexport import chart_config, dashboard_config, dashboard_export, dashboard_metadata_config, database_config, dataset_config, dataset_metadata_config
  from tests.integration_tests.fixtures.tags import with_tagging_system_feature
  from tests.integration_tests.fixtures.world_bank_dashboard import load_world_bank_dashboard_with_slices, load_world_bank_data
label_desc: Use image node_id 1 for calling the TestCreateCustomTagCommand obj's underlying member method code with example usage: obj.test_create_custom_tag_command() without return types