Fix tests

This commit is contained in:
Jonathan Kim 2019-12-26 11:49:29 +00:00
parent e31b93d1fd
commit 45d1d2eb56
2 changed files with 16 additions and 11 deletions

View File

@ -183,15 +183,18 @@ def test_str_schema():
type RootQuery { type RootQuery {
first: String first: String
node(
"""The ID of the object""" """The ID of the object"""
node(id: ID!): Node id: ID!
): Node
onlyNode(
"""The ID of the object""" """The ID of the object"""
onlyNode(id: ID!): MyNode id: ID!
): MyNode
onlyNodeLazy(
"""The ID of the object""" """The ID of the object"""
onlyNodeLazy(id: ID!): MyNode id: ID!
): MyNode
} }
''' '''
) )

View File

@ -78,8 +78,10 @@ def test_str_schema_correct():
} }
type RootQuery { type RootQuery {
node(
"""The ID of the object""" """The ID of the object"""
node(id: ID!): Node id: ID!
): Node
} }
type User implements Node { type User implements Node {