aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps
diff options
context:
space:
mode:
Diffstat (limited to 'src/onaptests/steps')
-rw-r--r--src/onaptests/steps/reports_collection.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/onaptests/steps/reports_collection.py b/src/onaptests/steps/reports_collection.py
index bcb199f..3c1dfb6 100644
--- a/src/onaptests/steps/reports_collection.py
+++ b/src/onaptests/steps/reports_collection.py
@@ -36,7 +36,7 @@ class ReportsCollection:
def generate_report(self) -> None:
step_list = self.report
- failing_steps = []
+ failing_steps = {}
for step,status in step_list.items():
if 'FAIL' in status:
failing_steps[step] = status
@@ -51,7 +51,6 @@ class ReportsCollection:
except NameError:
components = ""
- log_path = settings.LOG_CONFIG['handlers']['file']['filename']
jinja_env = Environment(
autoescape=select_autoescape(['html']),
loader=FileSystemLoader(sys.path[-1] + '/onaptests/templates/reporting'))
@@ -62,5 +61,5 @@ class ReportsCollection:
usecase=usecase,
details=details,
components=components,
- log_path=log_path).dump(
+ log_path="./pythonsdk.debug.log").dump(
settings.REPORTING_FILE_PATH)