update interface of merge_html_reports

This commit is contained in:
Daniel 2023-12-09 15:17:52 +01:00
parent cb6b166131
commit 6ee6055a30

View file

@ -58,10 +58,10 @@ class Coordinator:
def combine_html(self) -> None: def combine_html(self) -> None:
"""combines all generated pytest html reports into one""" """combines all generated pytest html reports into one"""
in_path = str(self.DIR.RECORDS / "html") in_dir_path = str(self.DIR.RECORDS / "html")
out_path = str(self.DIR.RECORDS / "full-report.html") out_file_path = str(self.DIR.RECORDS / "full-report.html")
title = "combined.html" title = "combined.html"
merge_html_reports(in_path, out_path, title) merge_html_reports(in_dir_path, out_file_path, title)
def collect_traces(self): def collect_traces(self):
"""moves all traces into SESSION/RECORDS dir """moves all traces into SESSION/RECORDS dir