Exemplo n.º 1
0
 def setUpClass(cls):
   try:
     cluster(action="create", config_file=unittest_config_file, no_prompt=True)
   except:
     cluster(action="terminate", config_file=unittest_config_file, no_prompt=True)
     os.remove(unittest_config_file)
     raise
Exemplo n.º 2
0
 def tearDownClass(cls):
   cluster(action="terminate", config_file=unittest_config_file, no_prompt=True)
   os.remove(unittest_config_file)