aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/security_scan
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-06-13 11:04:28 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2016-06-13 11:04:28 +0200
commitc1f3735e32c61ffedb04bdc542a142ac04f6dbd7 (patch)
treed047cf846726cc97986804c3fdafeac7220b9902 /testcases/security_scan
parent9b8807120318bceb14fb7c1012652e04fe06b40a (diff)
Fix flake8 violations
Change-Id: I911eab6d4c0cdcfcf4d75f03e91c528d3388876c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
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 d0ef02d56..cee83ddc5 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 9803dd3c1..797b564d4 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...")