def _api_config_test_server(output, kwargs):
 (result, msg) = test_nntp_server_dict(kwargs)
 response = {'result': result, 'message': msg}
 if output:
  return report(output, data=response)
 else:
  return msg

def _api_config_test_server ( output , kwargs ) : ( result , msg ) = test_nntp_server_dict ( kwargs ) response = { 'result' : result , 'message' : msg } if output : return report ( output , data = response ) else : return msg
api: accepts output .