git://git.onelab.eu
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a few more tweaks
[tests.git]
/
system
/
TestSliver.py
diff --git
a/system/TestSliver.py
b/system/TestSliver.py
index
c4b3fb8
..
b1e68ca
100644
(file)
--- a/
system/TestSliver.py
+++ b/
system/TestSliver.py
@@
-24,10
+24,10
@@
class TestSliver:
print str(e)
def create_test_ssh(self):
print str(e)
def create_test_ssh(self):
-
(found,privatekey) = self.get_privateK
ey()
- if not
found
:
+
private_key = self.test_slice.locate_private_k
ey()
+ if not
private_key
:
raise Exception,"Cannot find the private key for slice %s"%self.test_slice.name()
raise Exception,"Cannot find the private key for slice %s"%self.test_slice.name()
- return TestSsh (self.test_node.name(),key=privatekey,username=self.test_slice.name(),
+ return TestSsh (self.test_node.name(),key=private
_
key,username=self.test_slice.name(),
# so that copies end up in the home dir
buildname=".")
# so that copies end up in the home dir
buildname=".")