mirror of
https://github.com/graphql-python/graphene.git
synced 2025-09-21 11:22:33 +03:00
Fix tests
This commit is contained in:
parent
e31b93d1fd
commit
45d1d2eb56
|
@ -183,15 +183,18 @@ def test_str_schema():
|
|||
|
||||
type RootQuery {
|
||||
first: String
|
||||
|
||||
node(
|
||||
"""The ID of the object"""
|
||||
node(id: ID!): Node
|
||||
|
||||
id: ID!
|
||||
): Node
|
||||
onlyNode(
|
||||
"""The ID of the object"""
|
||||
onlyNode(id: ID!): MyNode
|
||||
|
||||
id: ID!
|
||||
): MyNode
|
||||
onlyNodeLazy(
|
||||
"""The ID of the object"""
|
||||
onlyNodeLazy(id: ID!): MyNode
|
||||
id: ID!
|
||||
): MyNode
|
||||
}
|
||||
'''
|
||||
)
|
||||
|
|
|
@ -78,8 +78,10 @@ def test_str_schema_correct():
|
|||
}
|
||||
|
||||
type RootQuery {
|
||||
node(
|
||||
"""The ID of the object"""
|
||||
node(id: ID!): Node
|
||||
id: ID!
|
||||
): Node
|
||||
}
|
||||
|
||||
type User implements Node {
|
||||
|
|
Loading…
Reference in New Issue
Block a user