Skip to content

Commit 630ce75

Browse files
authored
Fix: Renamed report-data class to avoid confusion (#642)
1 parent b1a910f commit 630ce75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pytest_html/basereport.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434

3535
class BaseReport:
36-
class Report:
36+
class ReportData:
3737
def __init__(self, title, config):
3838
self._config = config
3939
self._data = {
@@ -122,7 +122,7 @@ def __init__(self, report_path, config, default_css="style.css"):
122122
config.getini("max_asset_filename_length")
123123
)
124124

125-
self._report = self.Report(self._report_path.name, config)
125+
self._report = self.ReportData(self._report_path.name, config)
126126

127127
@property
128128
def css(self):

0 commit comments

Comments
 (0)