From 14e2ba7c88d8b7d56f55d4289086d2fb1b055bd3 Mon Sep 17 00:00:00 2001 From: cpwu Date: Thu, 12 May 2022 19:12:01 +0800 Subject: [PATCH] fix case --- tests/system-test/0-others/user_control.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/system-test/0-others/user_control.py b/tests/system-test/0-others/user_control.py index 74a2024381..c4218ac5b2 100644 --- a/tests/system-test/0-others/user_control.py +++ b/tests/system-test/0-others/user_control.py @@ -211,14 +211,19 @@ class TDTestCase: tdSql.query("show users") tdSql.checkRows(self.users_count + 2) + # 密码登录认证 + self.login_currrent(self.__user_list[0], self.__passwd_list[0]) + self.login_err(self.__user_list[0], f"new{self.__passwd_list[0]}") + + # 修改密码 tdLog.printNoPrefix("==========step3: alter user pass test") self.test_alter_pass() - # 密码登录认证 + # 密码修改后的登录认证 tdLog.printNoPrefix("==========step4: check login test") - self.login_err(self.__user_list[0], "passwd1") + self.login_err(self.__user_list[0], self.__passwd_list[0]) self.login_currrent(self.__user_list[0], f"new{self.__passwd_list[0]}")