case: add use db

This commit is contained in:
Alex Duan 2023-09-15 15:49:35 +08:00
parent 0e6486e3ec
commit bc1371a4b7
1 changed files with 4 additions and 3 deletions

View File

@ -47,6 +47,10 @@ class TDTestCase:
def run(self):
tdSql.prepare()
dbname = "db"
# full type test
self.full_datatype_test()
tdSql.execute(
f"create table {dbname}.ntb(ts timestamp,c1 int,c2 double,c3 float)")
tdSql.execute(
@ -305,9 +309,6 @@ class TDTestCase:
tdSql.checkData(0, 1, 11)
tdSql.checkData(1, 1, -9)
# full type test
self.full_datatype_test()
def stop(self):
tdSql.close()
tdLog.success("%s successfully executed" % __file__)