Skip to content

Commit

Permalink
v0.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels authored Nov 3, 2024
2 parents 1ae67d7 + fd37b8e commit fe802c5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Enforce latest version on ReadTheDocs
sphinx ~= 8.1
docutils ~= 0.21
docutils_stubs ~= 0.0.22

# ReadTheDocs Theme
sphinx_rtd_theme ~= 3.0.1
Expand Down
5 changes: 4 additions & 1 deletion sphinx_reports/Unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ def _CheckOptions(self) -> None:
self._reportID = self._ParseStringOption("reportid")
self._noAssertions = "without-assertions" in self.options

testSummary = self._testSummaries[self._reportID]
try:
testSummary = self._testSummaries[self._reportID]
except KeyError as ex:
raise ReportExtensionError(f"No unit testing configuration item for '{self._reportID}'.") from ex
self._xmlReport = testSummary["xml_report"]

@classmethod
Expand Down
2 changes: 1 addition & 1 deletion sphinx_reports/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
__email__ = "[email protected]"
__copyright__ = "2023-2024, Patrick Lehmann"
__license__ = "Apache License, Version 2.0"
__version__ = "0.7.3"
__version__ = "0.7.4"
__keywords__ = ["Python3", "Sphinx", "Extension", "Report", "doc-string", "interrogate"]

from hashlib import md5
Expand Down

0 comments on commit fe802c5

Please sign in to comment.