update timezone.py

This commit is contained in:
jiacy-jcy 2022-04-20 15:54:35 +08:00
parent 19f0780829
commit 496637e6d8
1 changed files with 6 additions and 7 deletions

View File

@ -137,6 +137,12 @@ class TDTestCase:
tdSql.query("select now() -1b from normaltb") tdSql.query("select now() -1b from normaltb")
tdSql.checkRows(3) tdSql.checkRows(3)
tdSql.query("select timezone() from normaltb where ts=today()")
tdSql.checkRows(1)
# tdSql.query("select timezone() from normaltb where ts=now()")
# tdSql.checkRows(0)
# tdLog.printNoPrefix("==========step3:create super table==========") # tdLog.printNoPrefix("==========step3:create super table==========")
@ -248,13 +254,6 @@ class TDTestCase:
# tdSql.checkData(0,0,100) # tdSql.checkData(0,0,100)
# tdSql.execute()
def stop(self): def stop(self):
tdSql.close() tdSql.close()
tdLog.success(f"{__file__} successfully executed") tdLog.success(f"{__file__} successfully executed")