提交 e63af60d 编写于 作者: C cpwu

fix case

上级 0288faac
...@@ -312,7 +312,7 @@ class TDTestCase: ...@@ -312,7 +312,7 @@ class TDTestCase:
tdSql.query(sql) tdSql.query(sql)
self.__change_user_priv(user=user, pre_priv=priv, invoke=True) self.__change_user_priv(user=user, pre_priv=priv, invoke=True)
if user.name != "root": if user.name != "root":
user.db_set.remove(dbname) if dbname else user.db_set.clear() user.db_set.discard(dbname) if dbname else user.db_set.clear()
time.sleep(1) time.sleep(1)
def test_priv_change_current(self): def test_priv_change_current(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册