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

Mock Response and Stage in TestASGIApp #27

Closed
ChihweiLHBird opened this issue Nov 28, 2021 · 0 comments
Closed

Mock Response and Stage in TestASGIApp #27

ChihweiLHBird opened this issue Nov 28, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ChihweiLHBird
Copy link
Member

ChihweiLHBird commented Nov 28, 2021

During work on sanic-org/sanic#2323, I found that current object that's used to mock stream, TestASGIApp, doesn't have stage and response attribute. I am not sure if it is worth, but it seems implement a mocked stage and response in TestASGIApp can make the testing more like the real use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant