@pytest.mark.django_db
def test_graphiql_is_enabled(client):
    from django.conf import settings
    response = client.get(url_string(), HTTP_ACCEPT='text/html')
    assert (response.status_code == 200)
    assert (response['Content-Type'].split(';')[0] == 'text/html')
@pytest.mark.django_db
def test_graphiql_is_enabled(client):
    from django.conf import settings
    response = client.get(url_string(), HTTP_ACCEPT='text/html')
    assert (response.status_code == 200)
    assert (response['Content-Type'].split(';')[0] == 'text/html')