code: def test_dttm_sql_literal(
      dttm: datetime,
      col: TableColumn,
      database: Database,
      result: str,
  ) -> None:
      assert (
          SqlaTable(database=database).dttm_sql_literal(dttm, col)
          == result
      )
  
file_path: superset/tests/unit_tests/models/core_test.py
imports: import json
  from datetime import datetime
  from typing import Optional
  import pytest
  from pytest_mock import MockFixture
  from sqlalchemy.engine.reflection import Inspector
  from superset.connectors.sqla.models import SqlaTable, TableColumn
  from superset.models.core import Database
label_desc: Use image node_id 3 for calling a global function with example usage: test_dttm_sql_literal(dttm, col, database, result) without return types