提交 2dad2244 编写于 作者: C cpwu

fix case

上级 97056436
......@@ -133,13 +133,13 @@ class TDTestCase:
def alter_pass_current(self):
self.__init_pass = True
for i in range(len(self.__user_list)):
for count, i in enumerate(range(self.users_count)):
if self.__init_pass:
tdSql.query(self.__alter_pass_sql(self.__user_list[i], f"new{self.__passwd_list[i]}"))
self.__init_pass = False
self.__init_pass = count != self.user_count - 1
else:
tdSql.query(self.__alter_pass_sql(self.__user_list[i], self.__passwd_list[i] ) )
self.__init_pass = True
self.__init_pass = count == self.user_count - 1
def alter_pass_err(self): # sourcery skip: remove-redundant-fstring
sqls = [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册