8000 Improved tests · graphql-python/graphene@739856a · GitHub
[go: up one dir, main page]

Skip to content

Commit 739856a

Browse files
committed
Improved tests
1 parent 6f67621 commit 739856a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/core/test_query.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ def resolve_pet(self, *args):
4646

4747
Human_type = Human.internal_type(schema)
4848

49+
def test_type():
50+
assert Human._meta.fields_map['name'].resolve(Human(object()), 1, 2< 4744 /span>) == 'Peter'
4951

5052
def test_query():
5153
schema = GraphQLSchema(query=Human_type)

0 commit comments

Comments
 (0)
0