Skip to content

Commit

Permalink
Merge pull request #214 from StationA/small-fixes
Browse files Browse the repository at this point in the history
Small fixes
  • Loading branch information
dchaplinsky authored Aug 2, 2019
2 parents 2b3b554 + 2e2eeb1 commit 5609a0e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 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 = req_body, request
coro_args = request, req_body
if class_based:
coro_args = (args[0],) + coro_args

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



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

0 comments on commit 5609a0e

Please sign in to comment.