The django graphene documentation shows a test example like this:
class MyFancyTestCase(GraphQLTestCase): def test_some_query(self): response = se