mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-11 20:27:03 +03:00
10 lines
232 B
Python
10 lines
232 B
Python
|
|
from ..data import setup
|
|
from ..schema import schema, Droid
|
|
|
|
|
|
def test_query_types():
|
|
graphql_type = Droid._meta.graphql_type
|
|
fields = graphql_type.get_fields()
|
|
assert fields['friends'].parent == Droid
|
|
assert fields |