Revision 9b3939ea qa/qa_os.py

b/qa/qa_os.py
36 36
_TEMP_OS_PATH = os.path.join(constants.OS_SEARCH_PATH[0], _TEMP_OS_NAME)
37 37

  
38 38

  
39
@qa_utils.DefineHook('os-list')
39 40
def TestOsList():
40 41
  """gnt-os list"""
41 42
  master = qa_config.GetMasterNode()
......
45 46
                       utils.ShellQuoteArgs(cmd)).wait(), 0)
46 47

  
47 48

  
49
@qa_utils.DefineHook('os-diagnose')
48 50
def TestOsDiagnose():
49 51
  """gnt-os diagnose"""
50 52
  master = qa_config.GetMasterNode()
......
123 125
      _RemoveTempOs(node, dir)
124 126

  
125 127

  
128
@qa_utils.DefineHook('os-valid')
126 129
def TestOsValid():
127 130
  """Testing valid OS definition"""
128 131
  return _TestOs(1)
129 132

  
130 133

  
134
@qa_utils.DefineHook('os-invalid')
131 135
def TestOsInvalid():
132 136
  """Testing invalid OS definition"""
133 137
  return _TestOs(0)
134 138

  
135 139

  
140
@qa_utils.DefineHook('os-partially-valid')
136 141
def TestOsPartiallyValid():
137 142
  """Testing partially valid OS definition"""
138 143
  return _TestOs(2)

Also available in: Unified diff