Skip to content

Commit d545ad4

Browse files
committed
Add missing test case initializer call
1 parent 0d28630 commit d545ad4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

graphene_django/tests/test_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ def runTest(self):
5151
pass
5252

5353
tc = TestClass()
54+
tc._pre_setup()
5455
tc.setUpClass()
56+
5557
tc.query("query { }", op_name="QueryName")
5658
body = json.loads(post_mock.call_args.args[1])
5759
# `operationName` field from https://graphql.org/learn/serving-over-http/#post-request

0 commit comments

Comments
 (0)