Add test for duration field

This commit is contained in:
Patrick Arminio 2017-06-26 14:22:38 +01:00
parent 68f6281ec8
commit a7c3337903

View File

@ -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)