소스 검색

[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(