forked from marshmallow-code/webargs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
- Loading branch information
1 parent
2c66dcb
commit 117a4d9
Showing
2 changed files
with
0 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -510,7 +510,6 @@ def load_data(req, schema): | |
|
||
|
||
def test_full_input_validation(parser, web_request): | ||
|
||
web_request.json = {"foo": 41, "bar": 42} | ||
|
||
args = {"foo": fields.Int(), "bar": fields.Int()} | ||
|
@@ -775,7 +774,6 @@ def test_multiple_arg_required_with_int_conversion(web_request, parser): | |
|
||
|
||
def test_parse_with_callable(web_request, parser): | ||
|
||
web_request.json = {"foo": 42} | ||
|
||
class MySchema(Schema): | ||
|
@@ -827,7 +825,6 @@ def test_passing_schema_to_parse(self, parser, web_request): | |
assert result == {"email": "[email protected]", "password": "bar"} | ||
|
||
def test_use_args_can_be_passed_a_schema(self, web_request, parser): | ||
|
||
web_request.json = {"email": "[email protected]", "password": "bar"} | ||
|
||
@parser.use_args(self.UserSchema(), web_request) | ||
|
@@ -861,7 +858,6 @@ def viewfunc(args): | |
assert viewfunc() == {"email": "[email protected]", "password": "bar"} | ||
|
||
def test_use_kwargs_can_be_passed_a_schema(self, web_request, parser): | ||
|
||
web_request.json = {"email": "[email protected]", "password": "bar"} | ||
|
||
@parser.use_kwargs(self.UserSchema(), web_request) | ||
|