提交 b6d80466 编写于 作者: L liuyq-617

inc code coverage

上级 a54f339b
...@@ -95,11 +95,12 @@ class TDTestCase: ...@@ -95,11 +95,12 @@ class TDTestCase:
for i in col_list : for i in col_list :
for j in col_list : for j in col_list :
for k in op_list : for k in op_list :
sql = " select %s %s %s from test1 " % ( i , k , j ) for l in [' order by ts' , ' order by ts desc' ]:
if i in err_list or j in err_list: sql = " select %s %s %s from test1 %s" % ( i , k , j , l )
tdSql.error(sql) if i in err_list or j in err_list:
else: tdSql.error(sql)
tdSql.query(sql) else:
tdSql.query(sql)
def stop(self): def stop(self):
tdSql.close() tdSql.close()
tdLog.success("%s successfully executed" % __file__) tdLog.success("%s successfully executed" % __file__)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册