소스 검색

[hive] TestHive.test_install_examples need to access to beeswax (#1176)

Sungpeo Kook 5 년 전
부모
커밋
7d8210b6ea
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      apps/beeswax/src/beeswax/tests.py

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

@@ -158,6 +158,7 @@ INFO  : OK"""
 
   def test_install_examples(self):
     with patch('beeswax.management.commands.beeswax_install_examples.Command') as Command:
+      grant_access("test_hive", "default", "beeswax")
       resp = self.client.get('/beeswax/install_examples')
       assert_true('POST request is required.' in json.loads(resp.content)['message'])