-
-
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
feat(testing): improve create_req
and create_asgi_req
#2249
Open
iuliachiriac
wants to merge
9
commits into
falconry:master
Choose a base branch
from
iuliachiriac:testing-helpers
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Jul 14, 2024
-
feat(testing): make create_req consistent with simulate_request
enable passing `json`, `params`, `params_csv`, `content_type` enable passing arbitrary WSGI envs through `extras` do extra checks on request attributes through `_prepare_sim_args` move `_prepare_sim_args` to `helpers.py`
Configuration menu - View commit details
-
Copy full SHA for 3b29de5 - Browse repository at this point
Copy the full SHA 3b29de5View commit details
Commits on Jul 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 85e2704 - Browse repository at this point
Copy the full SHA 85e2704View commit details
Commits on Jul 18, 2024
-
feat(testing): improve create_asgi_req
* enable passing `json`, `params`, `params_csv`, `content_type`, `extras` * do extra checks on request attributes through `_prepare_sim_args` * set Content-Length if not passed * add extras to ASGI scope
Configuration menu - View commit details
-
Copy full SHA for 53c633d - Browse repository at this point
Copy the full SHA 53c633dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c377ab9 - Browse repository at this point
Copy the full SHA c377ab9View commit details
Commits on Jul 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7039e12 - Browse repository at this point
Copy the full SHA 7039e12View commit details -
fix(tests) fix test failing on cython
* test was failing with a TypeError (expected str, got MagicMock) * keep mocked function behaviour by using a side_effect
Configuration menu - View commit details
-
Copy full SHA for f5bd3ea - Browse repository at this point
Copy the full SHA f5bd3eaView commit details
Commits on Jul 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a45807e - Browse repository at this point
Copy the full SHA a45807eView commit details
Commits on Aug 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bb056b2 - Browse repository at this point
Copy the full SHA bb056b2View commit details
Commits on Aug 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0b23def - Browse repository at this point
Copy the full SHA 0b23defView commit details
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.