testing-html-merge #15

Merged
dan merged 8 commits from testing-html-merge into dev 2023-12-09 15:28:50 +01:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit a2f81aa190 - Show all commits

View file

@ -7,7 +7,7 @@ from loguru import logger
from pytest_abra.dir_manager import DirManager
from pytest_abra.env_manager import EnvFile, EnvManager
from pytest_abra.html_helper import merge_html_files
from pytest_abra.html_helper import merge_html_reports
from pytest_abra.runner import Runner
from pytest_abra.utils import rmtree
@ -61,7 +61,7 @@ class Coordinator:
in_path = str(self.DIR.RECORDS / "html")
out_path = str(self.DIR.RECORDS / "full-report.html")
title = "combined.html"
merge_html_files(in_path, out_path, title)
merge_html_reports(in_path, out_path, title)
def collect_traces(self):
"""moves all traces into SESSION/RECORDS dir

View file

@ -12,7 +12,7 @@ from packaging import version
CHECKBOX_REGEX = r"^(?P<num>0|[1-9]\d*) (?P<txt1>.*)"
def merge_html_files(in_path: str, out_path: str, title: str):
def merge_html_reports(in_path: str, out_path: str, title: str):
paths = get_html_files(in_path, out_path)
if not paths:
raise RuntimeError(f"Unable to find html files in {in_path}")