X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/9b3939eaf061d11b681aae999bed18ae564ac9c4..ba55d062da8dfb89a37afc2f13f2e689d0094829:/qa/qa_os.py diff --git a/qa/qa_os.py b/qa/qa_os.py index 16d77df..b39e3ca 100644 --- a/qa/qa_os.py +++ b/qa/qa_os.py @@ -1,3 +1,6 @@ +# +# + # Copyright (C) 2007 Google Inc. # # This program is free software; you can redistribute it and/or modify @@ -36,7 +39,6 @@ _TEMP_OS_NAME = "TEMP-Ganeti-QA-OS" _TEMP_OS_PATH = os.path.join(constants.OS_SEARCH_PATH[0], _TEMP_OS_NAME) -@qa_utils.DefineHook('os-list') def TestOsList(): """gnt-os list""" master = qa_config.GetMasterNode() @@ -46,7 +48,6 @@ def TestOsList(): utils.ShellQuoteArgs(cmd)).wait(), 0) -@qa_utils.DefineHook('os-diagnose') def TestOsDiagnose(): """gnt-os diagnose""" master = qa_config.GetMasterNode() @@ -125,19 +126,16 @@ def _TestOs(mode): _RemoveTempOs(node, dir) -@qa_utils.DefineHook('os-valid') def TestOsValid(): """Testing valid OS definition""" return _TestOs(1) -@qa_utils.DefineHook('os-invalid') def TestOsInvalid(): """Testing invalid OS definition""" return _TestOs(0) -@qa_utils.DefineHook('os-partially-valid') def TestOsPartiallyValid(): """Testing partially valid OS definition""" return _TestOs(2)