From fc0833e1f907d39ba42c9bdc7ba850ff057e3a5f Mon Sep 17 00:00:00 2001 From: Noelle Leigh Date: Fri, 17 Apr 2020 16:13:53 -0400 Subject: [PATCH] Add method for Python 2.7 --- graphene_django/tests/test_utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/graphene_django/tests/test_utils.py b/graphene_django/tests/test_utils.py index 74e3c85..c0d376b 100644 --- a/graphene_django/tests/test_utils.py +++ b/graphene_django/tests/test_utils.py @@ -46,6 +46,9 @@ def test_graphql_test_case_op_name(post_mock): class TestClass(GraphQLTestCase): GRAPHQL_SCHEMA = True + def runTest(self): + pass + tc = TestClass() tc.setUpClass() tc.query("query { }", op_name="QueryName")