mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-26 03:24:07 +03:00
Add test for duration field
This commit is contained in:
parent
68f6281ec8
commit
a7c3337903
|
@ -120,3 +120,7 @@ def test_should_list_convert_to_list():
|
|||
|
||||
def test_should_dict_convert_dict():
|
||||
assert_conversion(serializers.DictField, DictType)
|
||||
|
||||
|
||||
def test_should_duration_convert_string():
|
||||
assert_conversion(serializers.DurationField, graphene.String)
|
||||
|
|
Loading…
Reference in New Issue
Block a user