Skip to content

Commit

Permalink
Fix: Renamed report-data class to avoid confusion (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
BeyondEvil committed Apr 8, 2023
1 parent b1a910f commit 630ce75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pytest_html/basereport.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@


class BaseReport:
class Report:
class ReportData:
def __init__(self, title, config):
self._config = config
self._data = {
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 630ce75

Please sign in to comment.