8000
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 5accc9f commit ddfe787Copy full SHA for ddfe787
tests/test_graphiqlview.py
@@ -23,7 +23,7 @@ def test_graphiql_renders_pretty(client):
23
' "test": "Hello World"\n'
24
' }\n'
25
'}'
26
- ).replace("\"","\\\"").replace("\n","\\n")
+ ).replace("\"", "\\\"").replace("\n", "\\n")
27
28
assert pretty_response in response.data.decode('utf-8')
29
@@ -34,6 +34,6 @@ def test_graphiql_default_title(client):
34
35
36
@pytest.mark.parametrize('app', [create_app(graphiql=True, graphiql_html_title="Awesome")])
37
-def test_graphiql_custom_title(client):
+def test_graphiql_custom_title(app, client):
38
response = client.get(url_for('graphql'), headers={'Accept': 'text/html'})
39
assert '<title>Awesome</title>' in response.data.decode('utf-8')
0 commit comments