def oc_cmd_mock(cmd, oadm=False, output=False, output_type='json', input_data=None):
 version = 'oc v3.4.0.39\nkubernetes v1.4.0+776c994\nfeatures: Basic-Auth GSSAPI Kerberos SPNEGO\n\nServer https://internal.api.opstest.openshift.com\nopenshift v3.4.0.39\nkubernetes v1.4.0+776c994\n'
 if ('version' in cmd):
  return {'stderr': None, 'stdout': version, 'returncode': 0, 'results': version, 'cmd': cmd}

def oc_cmd_mock ( cmd , oadm = False , output = False , output_type = 'json' , input_data = None ) : version = 'oc v3.4.0.39\nkubernetes v1.4.0+776c994\nfeatures: Basic-Auth GSSAPI Kerberos SPNEGO\n\nServer https://internal.api.opstest.openshift.com\nopenshift v3.4.0.39\nkubernetes v1.4.0+776c994\n' if ( 'version' in cmd ) : return { 'stderr' : None , 'stdout' : version , 'returncode' : 0 , 'results' : version , 'cmd' : cmd }
mock command for openshift_cmd .