コード例 #1
0
 def test_ambari_check_many_attempts(self, mock, mock2):
   conf = config.read_config('global.conf')['AMBARI']
   assert service_installer.check_ambari_service_installed('ZEPPELIN', conf) == False
コード例 #2
0
 def test_ambari_check_many_attempts(self, mock, mock2):
     conf = config.read_config('global.conf')['AMBARI']
     assert service_installer.check_ambari_service_installed(
         'ZEPPELIN', conf) == False
コード例 #3
0
 def test_ambari_check_good(self, mock, mock2):
   conf = config.read_config('global.conf')['AMBARI']
   assert service_installer.check_ambari_service_installed('ZEPPELIN', conf) == True
コード例 #4
0
 def test_ambari_check_good(self, mock, mock2):
     conf = config.read_config('global.conf')['AMBARI']
     assert service_installer.check_ambari_service_installed(
         'ZEPPELIN', conf) == True