mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-19 04:22:25 +03:00
add test
This commit is contained in:
parent
3faf60e458
commit
0b922d45b1
|
@ -32,6 +32,7 @@ def test_schema_get_type():
|
||||||
schema = Schema(Query)
|
schema = Schema(Query)
|
||||||
assert schema.Query == Query
|
assert schema.Query == Query
|
||||||
assert schema.MyOtherType == MyOtherType
|
assert schema.MyOtherType == MyOtherType
|
||||||
|
schema.get_type('MyOtherType')
|
||||||
|
|
||||||
|
|
||||||
def test_schema_get_type_error():
|
def test_schema_get_type_error():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user