Skip to content
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

#54 handle websocket rejections #55

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hollandjake
Copy link

Fixes #54

  • Test classes can now receive the early termination event as a raised Exception where the body of the exception is the closure message (incase validation is wanted to be done on the response)

  • Also added tests for quartz WebSocket endpoints as they were missing

@hollandjake hollandjake force-pushed the #54-handle-websocket-rejections branch 2 times, most recently from 3fd4d13 to d145be5 Compare June 12, 2022 21:24
@codecov-commenter
Copy link

codecov-commenter commented Jun 12, 2022

Codecov Report

Merging #55 (339b086) into master (916afb0) will decrease coverage by 1.42%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
- Coverage   87.56%   86.13%   -1.43%     
==========================================
  Files           6        6              
  Lines         410      411       +1     
==========================================
- Hits          359      354       -5     
- Misses         51       57       +6     
Impacted Files Coverage Δ
async_asgi_testclient/websocket.py 74.71% <100.00%> (+0.29%) ⬆️
async_asgi_testclient/testing.py 86.30% <0.00%> (-2.74%) ⬇️
async_asgi_testclient/response.py 86.36% <0.00%> (-1.52%) ⬇️
async_asgi_testclient/utils.py 92.50% <0.00%> (-1.25%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 916afb0...339b086. Read the comment docs.

@hollandjake hollandjake force-pushed the #54-handle-websocket-rejections branch 2 times, most recently from 50f2cdf to 57c4d20 Compare June 13, 2022 07:17
@hollandjake hollandjake force-pushed the #54-handle-websocket-rejections branch from 57c4d20 to 46e139a Compare June 13, 2022 07:22
@hollandjake
Copy link
Author

Finally got the build working, had to add numerous new tests and update a few packages as their dependencies were failing the builds

@masipcat masipcat self-requested a review June 17, 2022 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Client unable to handle websocket connection rejections
2 participants