mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-04-16 15:12:06 +03:00
Add missing test case initializer call
This commit is contained in:
parent
0d28630338
commit
d545ad44fc
|
@ -51,7 +51,9 @@ def test_graphql_test_case_op_name(post_mock):
|
|||
pass
|
||||
|
||||
tc = TestClass()
|
||||
tc._pre_setup()
|
||||
tc.setUpClass()
|
||||
|
||||
tc.query("query { }", op_name="QueryName")
|
||||
body = json.loads(post_mock.call_args.args[1])
|
||||
# `operationName` field from https://graphql.org/learn/serving-over-http/#post-request
|
||||
|
|
Loading…
Reference in New Issue
Block a user