diff --git a/src/pytest_html/nextgen.py b/src/pytest_html/nextgen.py
index 4e9d8c74..56e6d779 100644
--- a/src/pytest_html/nextgen.py
+++ b/src/pytest_html/nextgen.py
@@ -45,7 +45,8 @@ def insert(self, index, html):
self._html[index] = html
class Report:
- def __init__(self, title, duration_format):
+ def __init__(self, title, duration_format, config):
+ self._config = config
self._data = {
"title": title,
"collectedItems": 0,
@@ -57,6 +58,10 @@ def __init__(self, title, duration_format):
"additionalSummary": defaultdict(list),
}
+ @property
+ def config(self):
+ return self._config
+
@property
def data(self):
return self._data