[TD-1351]<test>: add test case
This commit is contained in:
parent
86c2c8f871
commit
b788f3d8e4
|
@ -46,6 +46,10 @@ class TDTestCase:
|
||||||
tdSql.checkData(1, 0, "2018-10-03 14:38:15")
|
tdSql.checkData(1, 0, "2018-10-03 14:38:15")
|
||||||
tdSql.checkData(2, 0, "2018-10-03 14:38:16")
|
tdSql.checkData(2, 0, "2018-10-03 14:38:16")
|
||||||
|
|
||||||
|
tdSql.error("SELECT SUM(current) as s, AVG(voltage) FROM meters WHERE groupId > 1 INTERVAL(1s) GROUP BY location order by s ASC")
|
||||||
|
|
||||||
|
tdSql.error("SELECT SUM(current) as s, AVG(voltage) FROM meters WHERE groupId > 1 INTERVAL(1s) GROUP BY location order by s DESC")
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
tdSql.close()
|
tdSql.close()
|
||||||
tdLog.success("%s successfully executed" % __file__)
|
tdLog.success("%s successfully executed" % __file__)
|
||||||
|
|
Loading…
Reference in New Issue