Fix unit test

This commit is contained in:
Alexey Subbotin 2017-01-23 16:19:55 +01:00 committed by GitHub
parent 1c0a9bab45
commit 32bb8c8255

View File

@ -408,7 +408,6 @@ def test_handles_field_errors_caught_by_graphql(client):
response = client.get(url_string(query='{thrower}'))
assert response.status_code == 400
assert response_json(response) == {
'data': None,
'errors': [{'locations': [{'column': 2, 'line': 1}], 'message': 'Throws!'}]
}