We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebe059f commit 60634efCopy full SHA for 60634ef
setup.py
@@ -3,7 +3,7 @@
3
required_packages = [
4
'graphql-core>=1.0',
5
'graphql-server-core>=1.0.dev',
6
- 'sanic>=0.4.0',
+ 'sanic>=0.5.1',
7
'pytest-runner'
8
]
9
tests/app.py
@@ -6,7 +6,7 @@
from urllib.parse import urlencode
from sanic import Sanic
-from sanic.testing import TestClient
+from sanic.testing import SanicTestClient
10
from sanic_graphql import GraphQLView
11
from graphql.execution.executors.asyncio import AsyncioExecutor
12
@@ -32,7 +32,7 @@ def remove_graphql_endpoint(app, loop):
32
else:
33
app.add_route(GraphQLView.as_view(schema=schema, **kwargs), path)
34
35
- app.client = TestClient(app)
+ app.client = SanicTestClient(app)
36
return app
37
38
0 commit comments