Skip to content

Commit

Permalink
Revert "Small fixes"
Browse files Browse the repository at this point in the history
  • Loading branch information
dchaplinsky authored Aug 2, 2019
1 parent 5609a0e commit 18f907c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Developing

Install requirement and launch tests::

pip install -r requirements_dev.txt
pip install -r requirements-dev.txt
py.test


Expand Down
2 changes: 1 addition & 1 deletion aiohttp_validate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def wrapped(*args):
_validate_data(req_body, request_schema,
_request_schema_validator)

coro_args = request, req_body
coro_args = req_body, request
if class_based:
coro_args = (args[0],) + coro_args

Expand Down
1 change: 1 addition & 0 deletions tests/test_aiohttp_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from aiohttp import web



@validate(
request_schema={
"type": "object",
Expand Down

0 comments on commit 18f907c

Please sign in to comment.