def config_validator(user): res = [] status = get_oozie_status(user) if 'NORMAL' not in status: res.append((NICE_NAME, _("The app won't work without a running Oozie server"))) return res
def config_validator(user): res = [] if not 'test' in sys.argv: # Avoid tests hanging status = get_oozie_status(user) if 'NORMAL' not in status: res.append((NICE_NAME, _("The app won't work without a running Oozie server"))) return res
def config_validator(): res = [] if not 'test' in sys.argv: # Avoid tests hanging status = get_oozie_status() if 'NORMAL' not in status: res.append((NICE_NAME, _("The app won't work without a running Oozie server"))) return res