mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-18 12:02:19 +03:00
add test
This commit is contained in:
parent
0b922d45b1
commit
bd9466c37d
|
@ -32,7 +32,8 @@ 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')
|
assert schema.get_type('MyOtherType') == MyOtherType
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def test_schema_get_type_error():
|
def test_schema_get_type_error():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user