mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-11 04:07:16 +03:00
Remove commented code
This commit is contained in:
parent
8bd9669d3d
commit
145183d0ae
|
@ -53,32 +53,3 @@ def test_node_query():
|
|||
)
|
||||
assert not executed.errors
|
||||
assert executed.data == {'say': {'phrase': 'hello'}}
|
||||
|
||||
|
||||
# def test_node_query_incorrect_id():
|
||||
# executed = schema.execute(
|
||||
# '{ node(id:"%s") { ... on MyNode { name } } }' % "something:2"
|
||||
# )
|
||||
# assert not executed.errors
|
||||
# assert executed.data == {'node': None}
|
||||
|
||||
# def test_str_schema():
|
||||
# assert str(schema) == """
|
||||
# schema {
|
||||
# query: RootQuery
|
||||
# }
|
||||
|
||||
# type MyNode implements Node {
|
||||
# id: ID!
|
||||
# name: String
|
||||
# }
|
||||
|
||||
# interface Node {
|
||||
# id: ID!
|
||||
# }
|
||||
|
||||
# type RootQuery {
|
||||
# first: String
|
||||
# node(id: ID!): Node
|
||||
# }
|
||||
# """.lstrip()
|
||||
|
|
Loading…
Reference in New Issue
Block a user