From 5e01151115dea0029ea570efb193ce83c0887c24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jim=20Br=C3=A4nnlund?= Date: Sun, 9 Apr 2023 00:59:16 +0200 Subject: [PATCH] Fix: Renamed report-data class to avoid confusion --- src/pytest_html/basereport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pytest_html/basereport.py b/src/pytest_html/basereport.py index c5297375..f9aba421 100644 --- a/src/pytest_html/basereport.py +++ b/src/pytest_html/basereport.py @@ -33,7 +33,7 @@ class BaseReport: - class Report: + class ReportData: def __init__(self, title, config): self._config = config self._data = { @@ -122,7 +122,7 @@ def __init__(self, report_path, config, default_css="style.css"): config.getini("max_asset_filename_length") ) - self._report = self.Report(self._report_path.name, config) + self._report = self.ReportData(self._report_path.name, config) @property def css(self):