Skip to content

Commit b1b48ed

Browse files
committed
Fix import and usage of graphene-datetime class
1 parent 2b67691 commit b1b48ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

graphene_sqlalchemy/tests/test_converter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
import graphene
1010
from graphene.relay import Node
11+
from graphene.types.datetime import DateTime
1112
from graphene.types.json import JSONString
1213

1314
from ..converter import (convert_sqlalchemy_column,
@@ -52,7 +53,7 @@ def test_should_date_convert_string():
5253

5354

5455
def test_should_datetime_convert_string():
55-
assert_column_conversion(types.DateTime(), graphene.DateTime)
56+
assert_column_conversion(types.DateTime(), DateTime)
5657

5758

5859
def test_should_time_convert_string():

0 commit comments

Comments
 (0)