Skip to content

Commit d6a81ee

Browse files
committed
Update tests to reflect changes
1 parent aa0c401 commit d6a81ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphene/relay/tests/test_node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def test_node_field_only_type_wrong():
115115
'{ onlyNode(id:"%s") { __typename, name } } ' % Node.to_global_id("MyOtherNode", 1)
116116
)
117117
assert len(executed.errors) == 1
118-
assert str(executed.errors[0]) == 'Must receive an MyOtherNode id.'
118+
assert str(executed.errors[0]) == 'Must receive a MyNode id.'
119119
assert executed.data == {'onlyNode': None}
120120

121121

@@ -132,7 +132,7 @@ def test_node_field_only_lazy_type_wrong():
132132
'{ onlyNodeLazy(id:"%s") { __typename, name } } ' % Node.to_global_id("MyOtherNode", 1)
133133
)
134134
assert len(executed.errors) == 1
135-
assert str(executed.errors[0]) == 'Must receive an MyOtherNode id.'
135+
assert str(executed.errors[0]) == 'Must receive a MyNode id.'
136136
assert executed.data == {'onlyNodeLazy': None}
137137

138138

0 commit comments

Comments
 (0)