浏览代码

[metastore] Added grant_access to TestApi.test_show_tables (#1162)

Sungpeo Kook 5 年之前
父节点
当前提交
8e8f270193
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      apps/metastore/src/metastore/tests.py

+ 1 - 0
apps/metastore/src/metastore/tests.py

@@ -77,6 +77,7 @@ class TestApi():
 
 
   def test_show_tables(self):
+    grant_access("test", "default", "metastore")
     with patch('beeswax.server.dbms.get') as get:
       get.return_value=Mock(
         get_databases=Mock(