compare as dict for py3.5 compat.

This commit is contained in:
Markus Padourek 2016-09-12 15:36:09 +01:00
parent 73945fb569
commit aa94fe157e

View File

@ -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'}}}}