return 1
authorTony Mack <tmack@cs.princeton.edu>
Tue, 22 Jan 2008 23:59:29 +0000 (23:59 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Tue, 22 Jan 2008 23:59:29 +0000 (23:59 +0000)
qaapi/qa/modules/plc/boot_node.py

index ca0b1e4..c7e6552 100644 (file)
@@ -18,7 +18,7 @@ class boot_node(Test):
        # validate hostname
        nodes = api.GetNodes(auth, [hostname], ['hostname'])
        if not nodes:
-           raise Exception, "No such node %s" 
+           raise Exception, "No such node %(hostname)s" 
 
        bootimage = api.GetBootMedium(auth, hostname, image_type, '')
        bootimage_path = '/%(tdir)s/%(hostname)s-bootcd.iso' % locals()
@@ -50,4 +50,4 @@ class boot_node(Test):
             raise Exception, "Unable to boot node image\n" + \
                             "\n".join(self.errors)     
         
-       return True     
+       return 1