提交 1af18e39 编写于 作者: C cpwu

fix case

上级 82015656
......@@ -167,6 +167,7 @@ class TDTestCase:
def user_login(self, user, passwd):
login_except = False
tdLog.printNoPrefix(login_except)
try:
with taos_connect(user=user, passwd=passwd) as conn:
cursor = conn.cursor()
......@@ -174,6 +175,8 @@ class TDTestCase:
login_except = True
cursor = None
tdLog.printNoPrefix("end,", login_except)
# with taos_connect(user=user, passwd=passwd) as conn:
# cursor = conn.cursor()
# if not cursor:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册