Преглед изворни кода

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