Skip to content

Commit

Permalink
Update to jsonrpc-base 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
emlove committed Mar 16, 2021
1 parent 045267d commit bc03804
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
flake8==3.7.8
coverage==5.5
coveralls==3.0.1
jsonrpc-base==1.0.3
jsonrpc-base>=2.0.0
aiohttp>=3.0.0
pytest-aiohttp==0.3.0
pytest==6.2.2
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
description='''A JSON-RPC client library for asyncio''',
long_description=open('README.rst').read(),
install_requires=[
'jsonrpc-base==1.0.3',
'jsonrpc-base>=2.0.0',
'aiohttp>=3.0.0',
],
classifiers=[
Expand Down
2 changes: 1 addition & 1 deletion tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def create_app(loop):

async def handler3(request):
request_message = await request.json()
assert request_message["params"] == {'foo': 'bar'}
assert request_message["params"] == [{'foo': 'bar'}]
return aiohttp.web.Response(
text='{"jsonrpc": "2.0", "result": null}',
content_type='application/json')
Expand Down

0 comments on commit bc03804

Please sign in to comment.