-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve docstrings, add API section to Sphinx #112
Conversation
junitparser/junitparser.py
Outdated
@@ -647,15 +643,15 @@ def write(self, filepath: str = None, pretty=False): | |||
class JUnitXml(Element): | |||
"""The JUnitXml root object. | |||
|
|||
It may contains a :class:`TestSuites` or a :class:`TestSuite`. | |||
It may contain :class:`TestSuites` or a :class:`TestSuite`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, there is no TestSuites class (anymore?).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this note refers to <TestSuites>
and <TestSuite>
tags that can be the root element of the XML.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed this accordingly.
0456014
to
7d5deb5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice clean-up of the docstrings!
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #112 +/- ##
=======================================
Coverage 98.24% 98.24%
=======================================
Files 8 8
Lines 1428 1428
=======================================
Hits 1403 1403
Misses 25 25
☔ View full report in Codecov by Sentry. |
16d5cbc
to
a875691
Compare
No description provided.