async def test_d586(http_client):
    """
    SHOULD NOT contain the data entry on document parsing failure when accepting application/graphql-response+json
    """
    response = await http_client.post(
        url="/graphql",
        headers={
            "Content-Type": "application/json",
            "Accept": "application/graphql-response+json",
        },
        json={"query": "{"},
    )
    assert response.status_code == 400
    assert "data" not in response.json

    SHOULD NOT contain the data entry on document parsing failure when accepting application/graphql-response+json
    
tests/http/test_graphql_over_http_spec.py