summaryrefslogtreecommitdiffstats
path: root/testcases/Controllers
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/Controllers
parent9b8807120318bceb14fb7c1012652e04fe06b40a (diff)
Fix flake8 violations
Change-Id: I911eab6d4c0cdcfcf4d75f03e91c528d3388876c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'testcases/Controllers')
-rw-r--r--testcases/Controllers/ODL/odlreport2db.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/testcases/Controllers/ODL/odlreport2db.py b/testcases/Controllers/ODL/odlreport2db.py
index 028808411..3eff40060 100644
--- a/testcases/Controllers/ODL/odlreport2db.py
+++ b/testcases/Controllers/ODL/odlreport2db.py
@@ -24,11 +24,9 @@
import getopt
import json
-import os
import sys
import time
import xmltodict
-import yaml
import functest.utils.functest_utils as functest_utils
@@ -122,11 +120,6 @@ def main(argv):
json.dumps(data, indent=4, separators=(',', ': '))
- # Only used from container, we can set up absolute path
- with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f:
- functest_yaml = yaml.safe_load(f)
- f.close()
-
try:
# example:
# python odlreport2db.py -x ~/Pictures/Perso/odl/output3.xml