1 from autotest_lib.server import test 2 from autotest_lib.client.common_lib import error 3 4 class cleanup_test(test.test): 5 version = 1 6 7 def execute(self, host): 8 try: 9 host.cleanup() 10 except Exception, e: 11 raise error.TestError("Cleanup failed: " + str(e)) 12