code: def test_raise_key_error_missing_dataframe(es):
      error_text = "DataFrame testing does not exist in ecommerce"
      with pytest.raises(KeyError, match=error_text):
          es["testing"]
  
      es_without_id = EntitySet()
      error_text = "DataFrame testing does not exist in entity set"
      with pytest.raises(KeyError, match=error_text):
          es_without_id["testing"]
  
imports: import pandas
  import pytest
  from featuretools import EntitySet
  from featuretools.tests.testing_utils import backward_path, forward_path
label_desc: Use image node_id 21 for calling a global function with example usage: test_raise_key_error_missing_dataframe(es) without return types