-
-
Notifications
You must be signed in to change notification settings - Fork 945
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
fix(WebSocket): properly handle HTTPStatus and HTTPError cases #2150
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2150 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 62 62
Lines 6791 6802 +11
Branches 1095 1097 +2
=========================================
+ Hits 6791 6802 +11
|
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.
LGTM, I like that the proposed tests are quite comprehensive 👍
This just needs 2146.bugfix.rst
newsfragment to be added and I can approve.
thanks. I'll look into adding it and also by the coverage is not happy. |
thanks for fixing the coverage, I guess the old code was covering that part by chance |
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 took the liberty of rewording the newsfragment to sound more like a short story, and fixed Sphinx links therein.
LGTM now 💯
Thanks! |
* fix(websocket): properly handle HTTPStatus and HTTPError cases when using websockets * test: fix failing tests * test: add missing test coverage * docs: add newsfragment * chore: explicit raise for unsupported call of internal methods * style: fix imports * docs(towncrier): improve the bugfix newsfragment --------- Co-authored-by: Vytautas Liuolia <vytautas.liuolia@gmail.com>
Can you think of further tests to try?
Fixes #2146