test(stdlib): Stop mocking HTTPSConnection.send in trace header tests#6156
Merged
alexander-alderman-webb merged 2 commits intomasterfrom Apr 29, 2026
Merged
test(stdlib): Stop mocking HTTPSConnection.send in trace header tests#6156alexander-alderman-webb merged 2 commits intomasterfrom
HTTPSConnection.send in trace header tests#6156alexander-alderman-webb merged 2 commits intomasterfrom
Conversation
Contributor
Codecov Results 📊✅ 13 passed | Total: 13 | Pass Rate: 100% | Execution Time: 7.74s 📊 Comparison with Base Branch
✨ No test changes detected All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 14791 uncovered lines. Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 27.38% 31.38% +4%
==========================================
Files 190 190 —
Lines 21543 21554 +11
Branches 7182 7182 —
==========================================
+ Hits 5898 6763 +865
- Misses 15645 14791 -854
- Partials 477 571 +94Generated by Codecov Action |
sentrivana
approved these changes
Apr 29, 2026
HTTPSConnection.send in trace header tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Emulate basic HTTP 1.1 response in
HTTPSConnectionsubclass instead of inspectingmock.Mockarguments.Issues
Reminders
tox -e linters.feat:,fix:,ref:,meta:)