diff --git a/graphene_django/tests/test_converter.py b/graphene_django/tests/test_converter.py index 3467ed7..ce5a961 100644 --- a/graphene_django/tests/test_converter.py +++ b/graphene_django/tests/test_converter.py @@ -5,7 +5,7 @@ from py.test import raises import graphene from graphene.relay import ConnectionField, Node -from graphene.types.datetime import DateTime +from graphene.types.datetime import DateTime, Time from graphene.types.json import JSONString from ..compat import (ArrayField, HStoreField, JSONField, MissingType, @@ -44,6 +44,10 @@ def test_should_date_convert_string(): assert_conversion(models.DateField, DateTime) +def test_should_time_convert_string(): + assert_conversion(models.TimeField, Time) + + def test_should_char_convert_string(): assert_conversion(models.CharField, graphene.String)