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

Use a client facade in test_wsgiscopes.py #86

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

ikalnytskyi
Copy link
Owner

Previously a bare Flask test client has been used in the tests to make a request and trigger an endpoint execution. This was error prone, since the wrong route could have been requested due to a silly typo and we wouldn't even know. The facade is designed to solve this by always checking that underlying requests succeed.

Previously a bare Flask test client has been used in the tests to make a
request and trigger an endpoint execution. This was error prone, since
the wrong route could have been requested due to a silly typo and we
wouldn't even know. The facade is designed to solve this by always
checking that underlying requests succeed.
@ikalnytskyi ikalnytskyi merged commit ebc391a into master Dec 4, 2023
14 checks passed
@ikalnytskyi ikalnytskyi deleted the chore/wsgiscopes-tests branch December 4, 2023 23:56
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.

1 participant