Update test_node to have errors on test_node_query_incorrect_id

This commit is contained in:
James 2019-09-26 13:18:14 -05:00 committed by Jonathan Kim
parent 1afcdb03e0
commit 4f1144c543

View File

@ -90,7 +90,7 @@ def test_node_query_incorrect_id():
executed = schema.execute( executed = schema.execute(
'{ node(id:"%s") { ... on MyNode { name } } }' % "something:2" '{ node(id:"%s") { ... on MyNode { name } } }' % "something:2"
) )
assert not executed.errors assert executed.errors
assert executed.data == {"node": None} assert executed.data == {"node": None}