mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-13 17:52:19 +03:00
Fix unit test
This commit is contained in:
parent
1c0a9bab45
commit
32bb8c8255
|
@ -408,7 +408,6 @@ def test_handles_field_errors_caught_by_graphql(client):
|
||||||
response = client.get(url_string(query='{thrower}'))
|
response = client.get(url_string(query='{thrower}'))
|
||||||
assert response.status_code == 400
|
assert response.status_code == 400
|
||||||
assert response_json(response) == {
|
assert response_json(response) == {
|
||||||
'data': None,
|
|
||||||
'errors': [{'locations': [{'column': 2, 'line': 1}], 'message': 'Throws!'}]
|
'errors': [{'locations': [{'column': 2, 'line': 1}], 'message': 'Throws!'}]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user