code: def test_custom_template_processors_overwrite(
      app_context: AppContext,
  ) -> None:
      """Test template processor for presto gets overwritten by custom one."""
      db = mock.Mock()
      db.backend = "db_for_macros_testing"
      tp = get_template_processor(database=db)
  
      template = "SELECT '{{ datetime(2017, 1, 1).isoformat() }}'"
      assert tp.process_template(template) == template
  
      template = "SELECT '{{ DATE(1, 2) }}'"
      assert tp.process_template(template) == template
  
imports: from datetime import datetime
  from unittest import mock
  import pytest
  from flask.ctx import AppContext
  from pytest_mock import MockFixture
  import superset.utils.database
  from superset.exceptions import SupersetTemplateException
  from superset.jinja_context import get_template_processor
label_desc: Use image node_id 18 for calling a global function with example usage: test_custom_template_processors_overwrite(app_context) without return types