mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 17:46:57 +03:00
compare as dict for py3.5 compat.
This commit is contained in:
parent
73945fb569
commit
aa94fe157e
|
@ -131,6 +131,4 @@ def test_edge_query():
|
|||
'mutation a { other(input: {clientMutationId:"1"}) { myNodeEdge { cursor node { name }} } }'
|
||||
)
|
||||
assert not executed.errors
|
||||
assert executed.data == OrderedDict(
|
||||
{'other': OrderedDict({'myNodeEdge': OrderedDict({'cursor': '1', 'node': OrderedDict({'name': 'name'})})})}
|
||||
)
|
||||
assert dict(executed.data) == {'other': {'myNodeEdge': {'cursor': '1', 'node': {'name': 'name'}}}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user