Closed Orenoid closed 3 months ago
@Kludex Thanks for the approval. I noticed that you updated some logic and variable names. Do we have relevant coding standards? If so, I can follow them while working on the rest of tests in the future. And one more thing, would you prefer me to add the rest of the tests in separate PRs, with one PR per module, or should I add them with as few PRs as possible?
Do we have relevant coding standards?
We do have a page in our docs, but for the changes I did in this PR, no. I just updated the code to use tmp_path
instead of tmpdir
. You didn't do anything wrong.
And one more thing, would you prefer me to add the rest of the tests in separate PRs, with one PR per module, or should I add them with as few PRs as possible?
The way you did here is perfect! A couple of tests per PR is good for me.
Summary
Add tests for some of the uncovered branches in
starlette.responses
, related to this issueChecklist