code: def test_validate_entity_dict_is_throwing_exceptions(invalid_data):
      with pytest.raises(SchemaValidationError):
          validation_utils.validate_training_data(
              invalid_data, schema.entity_dict_schema()
          )
  
imports: from typing import Text
  from threading import Thread
  import pytest
  from pep440_version_utils import Version
  from rasa.shared.exceptions import YamlException, SchemaValidationError
  import rasa.shared.utils.io
  import rasa.shared.utils.validation
  import rasa.utils.io
  import rasa.shared.nlu.training_data.schemas.data_schema
  from rasa.shared.constants import CONFIG_SCHEMA_FILE, DOMAIN_SCHEMA_FILE, LATEST_TRAINING_DATA_FORMAT_VERSION
  from rasa.shared.nlu.training_data.formats.rasa_yaml import NLU_SCHEMA_FILE
  from rasa.shared.utils.validation import KEY_TRAINING_DATA_FORMAT_VERSION
label_desc: Use image node_id 12 for calling a global function with example usage: test_validate_entity_dict_is_throwing_exceptions(invalid_data) without return types