Revision ed54b47e qa/qa_os.py

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

  
41 41

  
42
@qa_utils.DefineHook('os-list')
43 42
def TestOsList():
44 43
  """gnt-os list"""
45 44
  master = qa_config.GetMasterNode()
......
49 48
                       utils.ShellQuoteArgs(cmd)).wait(), 0)
50 49

  
51 50

  
52
@qa_utils.DefineHook('os-diagnose')
53 51
def TestOsDiagnose():
54 52
  """gnt-os diagnose"""
55 53
  master = qa_config.GetMasterNode()
......
128 126
      _RemoveTempOs(node, dir)
129 127

  
130 128

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

  
136 133

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

  
142 138

  
143
@qa_utils.DefineHook('os-partially-valid')
144 139
def TestOsPartiallyValid():
145 140
  """Testing partially valid OS definition"""
146 141
  return _TestOs(2)

Also available in: Unified diff