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
implement --template option #126
Conversation
7a9a289
to
5f0dccf
Compare
Codecov Report
@@ Coverage Diff @@
## master #126 +/- ##
==========================================
+ Coverage 84.02% 91.33% +7.31%
==========================================
Files 11 11
Lines 388 381 -7
==========================================
+ Hits 326 348 +22
+ Misses 62 33 -29
Continue to review full report at Codecov.
|
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.
🙌👏👏👏
|
||
with open(self.output_path, "w", newline="\n") as doc: | ||
doc.write(content) | ||
|
||
logger.info("The documentation was generated successfully.") | ||
logger.info(f"It is available at {self.output_path}") | ||
|
||
def hide_headers_info(self, responses): |
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 forgot to erase this part in the refactor. Thank you very much!
@@ -0,0 +1,77 @@ | |||
import pytest |
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.
Wow, this will increase the coverage a lot! 😍😍😍
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.
Yes! We didn't have any tests for the reporter yet so it's increasing a good 7.31% ⬆️
Feature implemente on PR #126
Closes #58