Skip to content

Commit c998efd

Browse files
committed
Clean up tests
Related GraphQL-js commit: graphql/graphql-js@8514211
1 parent 63da27a commit c998efd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

graphql/execution/tests/test_executor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,16 @@ def test_merges_parallel_fragments():
158158
}
159159

160160

161-
def test_threads_context_correctly():
161+
def test_threads_root_value_context_correctly():
162162
doc = 'query Example { a }'
163163

164164
class Data(object):
165165
context_thing = 'thing'
166166

167167
ast = parse(doc)
168168

169-
def resolver(context, *_):
170-
assert context.context_thing == 'thing'
169+
def resolver(root_value, *_):
170+
assert root_value.context_thing == 'thing'
171171
resolver.got_here = True
172172

173173
resolver.got_here = False

0 commit comments

Comments
 (0)