Merge pull request #2 from no-dap/bugfix/execution-result

Fix invalid field error's status code
This commit is contained in:
DongHwan Lee 2019-10-19 14:41:48 +09:00 committed by GitHub
commit 14dc656486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -444,7 +444,7 @@ def test_supports_pretty_printing_by_request(client):
def test_handles_field_errors_caught_by_graphql(client):
response = client.get(url_string(query="{thrower}"))
assert response.status_code == 200
assert response.status_code == 400
assert response_json(response) == {
"data": None,
"errors": [