mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-02 11:23:15 +03:00
compare as dict for py3.5 compat.
This commit is contained in:
parent
47c1f3e655
commit
7f4541524a
|
@ -124,4 +124,4 @@ def test_node_query():
|
|||
'mutation a { say(input: {what:"hello", clientMutationId:"1"}) { phrase, clientMutationId, myNodeId} }'
|
||||
)
|
||||
assert not executed.errors
|
||||
assert executed.data == OrderedDict({'say': OrderedDict({'phrase': 'hello', 'clientMutationId': '1', 'myNodeId': to_global_id('MyNode', '1')})})
|
||||
assert dict(executed.data) == {'say': {'myNodeId': to_global_id('MyNode', '1'), 'clientMutationId': '1', 'phrase': 'hello'}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user