mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-27 08:19:45 +03:00
fixed partial test
This commit is contained in:
parent
0fe2fe3031
commit
d59a46be37
|
@ -31,6 +31,6 @@ def test_list_non_null():
|
|||
def test_partial():
|
||||
def __type(_type):
|
||||
return _type
|
||||
dynamic = Dynamic(partial(__type(String)))
|
||||
dynamic = Dynamic(partial(__type, String))
|
||||
assert dynamic.get_type() == String
|
||||
assert str(dynamic.get_type()) == 'String'
|
||||
|
|
Loading…
Reference in New Issue
Block a user