提交 0288faac 编写于 作者: C cpwu

fix case

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