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]}")