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