git://git.onelab.eu
/
tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
710db5c
)
return 1
author
Tony Mack
<tmack@cs.princeton.edu>
Tue, 22 Jan 2008 23:59:29 +0000
(23:59 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Tue, 22 Jan 2008 23:59:29 +0000
(23:59 +0000)
qaapi/qa/modules/plc/boot_node.py
patch
|
blob
|
history
diff --git
a/qaapi/qa/modules/plc/boot_node.py
b/qaapi/qa/modules/plc/boot_node.py
index
ca0b1e4
..
c7e6552
100644
(file)
--- a/
qaapi/qa/modules/plc/boot_node.py
+++ b/
qaapi/qa/modules/plc/boot_node.py
@@
-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