From b6d80466b74960495013b87cc2a442d073fee23b Mon Sep 17 00:00:00 2001 From: liuyq-617 Date: Fri, 5 Mar 2021 18:51:14 +0800 Subject: [PATCH] inc code coverage --- tests/pytest/functions/function_operations.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/pytest/functions/function_operations.py b/tests/pytest/functions/function_operations.py index e703147b67..4bcb9a58a3 100644 --- a/tests/pytest/functions/function_operations.py +++ b/tests/pytest/functions/function_operations.py @@ -95,11 +95,12 @@ class TDTestCase: for i in col_list : for j in col_list : for k in op_list : - sql = " select %s %s %s from test1 " % ( i , k , j ) - if i in err_list or j in err_list: - tdSql.error(sql) - else: - tdSql.query(sql) + for l in [' order by ts' , ' order by ts desc' ]: + sql = " select %s %s %s from test1 %s" % ( i , k , j , l ) + if i in err_list or j in err_list: + tdSql.error(sql) + else: + tdSql.query(sql) def stop(self): tdSql.close() tdLog.success("%s successfully executed" % __file__) -- GitLab