code: def test_load_custom_entity_attributes():
      """
      The custom entity attirbutes should be correctly configured in the pipeline.
      """
      custom_attr_steps = [
          (
              "Entities",
              {"ent_attributes": ("start_char", "end_char", "label_")},
          )
      ]
      custom_attr_pipe = Pipeline(custom_attr_steps)
      assert custom_attr_pipe("Donald Trump is weird")["Entities"] == [
          (0, 12, "PERSON")
      ]
  
file_path: textpipe/tests/test_pipeline.py
imports: import tempfile
  import pytest
  import spacy
  from textpipe.pipeline import Pipeline
label_desc: Use image node_id 2 for calling a global function with example usage: test_load_custom_entity_attributes() without return types