mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-04-25 19:43:51 +03:00
Update tests
This commit is contained in:
parent
6ea5e2bbaf
commit
f3660b3f30
|
@ -117,5 +117,5 @@ def test_should_manytoone_convert_connectionorlist():
|
|||
|
||||
def test_should_typed_choice_convert_enum():
|
||||
field = forms.TypedChoiceField(choices=(('A', 'Choice A'), ('B', 'Choice B')), label='field')
|
||||
graphene_type = convert_form_field_with_choices('field_name', field)
|
||||
graphene_type = convert_form_field_with_choices(field, name='field_name')
|
||||
assert isinstance(graphene_type, Enum)
|
||||
|
|
Loading…
Reference in New Issue
Block a user