We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63da27a commit c998efdCopy full SHA for c998efd
graphql/execution/tests/test_executor.py
@@ -158,16 +158,16 @@ def test_merges_parallel_fragments():
158
}
159
160
161
-def test_threads_context_correctly():
+def test_threads_root_value_context_correctly():
162
doc = 'query Example { a }'
163
164
class Data(object):
165
context_thing = 'thing'
166
167
ast = parse(doc)
168
169
- def resolver(context, *_):
170
- assert context.context_thing == 'thing'
+ def resolver(root_value, *_):
+ assert root_value.context_thing == 'thing'
171
resolver.got_here = True
172
173
resolver.got_here = False
0 commit comments