code: def test_convert_dttm(self):
      dttm = self.get_dttm()
  
      self.assertEqual(
          AscendEngineSpec.convert_dttm("DATE", dttm),
          "CAST('2019-01-02' AS DATE)",
      )
  
      self.assertEqual(
          AscendEngineSpec.convert_dttm("TIMESTAMP", dttm),
          "CAST('2019-01-02T03:04:05.678900' AS TIMESTAMP)",
      )
  
imports: from superset.db_engine_specs.ascend import AscendEngineSpec
  from tests.integration_tests.db_engine_specs.base_tests import TestDbEngineSpec
label_desc: Use image node_id 1 for calling the TestAscendDbEngineSpec obj's underlying member method code with example usage: obj.test_convert_dttm() without return types