@@ -93,7 +93,8 @@ def test_allows_get_with_operation_name(client):
93
93
94
94
95
95
@pytest .mark .xfail (
96
- reason = "SourceLocation serialization problem: https://github.com/graphql-python/graphql-core-next/issues/61" )
96
+ reason = "SourceLocation serialization problem: https://github.com/graphql-python/graphql-core-next/issues/61"
97
+ )
97
98
def test_reports_validation_errors (client ):
98
99
response = client .get (url_string (query = "{ test, unknownOne, unknownTwo }" ))
99
100
@@ -103,12 +104,12 @@ def test_reports_validation_errors(client):
103
104
{
104
105
"message" : "Cannot query field 'unknownOne' on type 'QueryRoot'." ,
105
106
"locations" : [{"line" : 1 , "column" : 9 }],
106
- "path" : None
107
+ "path" : None ,
107
108
},
108
109
{
109
110
"message" : "Cannot query field 'unknownTwo' on type 'QueryRoot'." ,
110
111
"locations" : [{"line" : 1 , "column" : 21 }],
111
- "path" : None
112
+ "path" : None ,
112
113
},
113
114
]
114
115
}
@@ -449,7 +450,8 @@ def test_supports_pretty_printing_by_request(client):
449
450
450
451
451
452
@pytest .mark .xfail (
452
- reason = "SourceLocation serialization problem: https://github.com/graphql-python/graphql-core-next/issues/61" )
453
+ reason = "SourceLocation serialization problem: https://github.com/graphql-python/graphql-core-next/issues/61"
454
+ )
453
455
def test_handles_field_errors_caught_by_graphql (client ):
454
456
response = client .get (url_string (query = "{thrower}" ))
455
457
assert response .status_code == 200
@@ -466,7 +468,8 @@ def test_handles_field_errors_caught_by_graphql(client):
466
468
467
469
468
470
@pytest .mark .xfail (
469
- reason = "SourceLocation serialization problem: https://github.com/graphql-python/graphql-core-next/issues/61" )
471
+ reason = "SourceLocation serialization problem: https://github.com/graphql-python/graphql-core-next/issues/61"
472
+ )
470
473
def test_handles_syntax_errors_caught_by_graphql (client ):
471
474
response = client .get (url_string (query = "syntaxerror" ))
472
475
assert response .status_code == 400
0 commit comments