aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/security_scan
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/security_scan')
-rw-r--r--testcases/security_scan/connect.py1
-rw-r--r--testcases/security_scan/security_scan.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/testcases/security_scan/connect.py b/testcases/security_scan/connect.py
index d0ef02d5..cee83ddc 100644
--- a/testcases/security_scan/connect.py
+++ b/testcases/security_scan/connect.py
@@ -23,6 +23,7 @@ INSTALLER_IP = os.getenv('INSTALLER_IP')
logger = ft_logger.Logger("security_scan").getLogger()
paramiko.util.log_to_file("/var/log/paramiko.log")
+
class setup:
def __init__(self, *args):
self.args = args
diff --git a/testcases/security_scan/security_scan.py b/testcases/security_scan/security_scan.py
index 9803dd3c..797b564d 100644
--- a/testcases/security_scan/security_scan.py
+++ b/testcases/security_scan/security_scan.py
@@ -62,7 +62,8 @@ nova = client.Client(2, session=sess)
def run_tests(host, nodetype):
user = cfgparse.get(nodetype, 'user')
port = cfgparse.get(nodetype, 'port')
- connect.logger.info("Host: {0} Selected Profile: {1}".format(host, nodetype))
+ connect.logger.info("Host: {0} Selected Profile: {1}".format(host,
+ nodetype))
connect.logger.info("Creating temp file structure..")
createfiles(host, port, user, localkey)
connect.logger.info("Installing OpenSCAP...")