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 {
first: String
"""The ID of the object"""
node(id: ID!): Node
"""The ID of the object"""
onlyNode(id: ID!): MyNode
"""The ID of the object"""
onlyNodeLazy(id: ID!): MyNode
node(
"""The ID of the object"""
id: ID!
): Node
onlyNode(
"""The ID of the object"""
id: ID!
): MyNode
onlyNodeLazy(
"""The ID of the object"""
id: ID!
): MyNode
}
'''
)

View File

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