From cdded063ff9c29fce9378bd313c57e2649ad8bfc Mon Sep 17 00:00:00 2001 From: cpwu Date: Thu, 12 May 2022 19:51:39 +0800 Subject: [PATCH] fix case --- tests/system-test/0-others/user_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system-test/0-others/user_control.py b/tests/system-test/0-others/user_control.py index 9534e079b5..2c1db728ef 100644 --- a/tests/system-test/0-others/user_control.py +++ b/tests/system-test/0-others/user_control.py @@ -241,7 +241,7 @@ class TDTestCase: # 普通用户权限 _, user = self.user_login(self.__user_list[0], f"new{self.__passwd_list[0]}") - with taos_connect(self.__user_list[0], f"new{self.__passwd_list[0]}") as conn: + with taos_connect(user=self.__user_list[0], passwd=f"new{self.__passwd_list[0]}") as conn: user = conn # 不能创建用户 tdLog.printNoPrefix("==========step5: normal user can not create user")