aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functest/core/singlevm.py2
-rw-r--r--functest/opnfv_tests/vnf/ims/heat_ims.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/functest/core/singlevm.py b/functest/core/singlevm.py
index ec7f967ec..16c066ef6 100644
--- a/functest/core/singlevm.py
+++ b/functest/core/singlevm.py
@@ -353,7 +353,7 @@ class SingleVm1(VmReady1):
self.keypair = self.cloud.create_keypair(
'{}-kp_{}'.format(self.case_name, self.guid))
self.__logger.debug("keypair: %s", self.keypair)
- self.__logger.debug("private_key: %s", self.keypair.private_key)
+ self.__logger.debug("private_key:\n%s", self.keypair.private_key)
with open(self.key_filename, 'w') as private_key_file:
private_key_file.write(self.keypair.private_key)
self.sec = self.cloud.create_security_group(
diff --git a/functest/opnfv_tests/vnf/ims/heat_ims.py b/functest/opnfv_tests/vnf/ims/heat_ims.py
index 7bd4f207e..9c2fded78 100644
--- a/functest/opnfv_tests/vnf/ims/heat_ims.py
+++ b/functest/opnfv_tests/vnf/ims/heat_ims.py
@@ -101,7 +101,7 @@ class HeatIms(singlevm.VmReady2):
domain=self.project.domain.id)
self.keypair = self.cloud.create_keypair(
'{}-kp_{}'.format(self.case_name, self.guid))
- self.__logger.info("keypair: %s", self.keypair.private_key)
+ self.__logger.info("keypair:\n%s", self.keypair.private_key)
if self.deploy_vnf() and self.test_vnf():
self.result = 100