Skip to content

Commit 35d3f4a

Browse files
committed
test: Add test_sould_int_convert_int
1 parent c248cdd commit 35d3f4a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

graphene_mongo/tests/test_converter.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ def test_should_uuid_convert_id():
4444
assert_conversion(mongoengine.UUIDField, graphene.ID)
4545

4646

47+
def test_sould_int_convert_int():
48+
assert_conversion(mongoengine.IntField, graphene.Int)
49+
50+
4751
def test_should_object_id_convert_id():
4852
assert_conversion(mongoengine.ObjectIdField, graphene.ID)
4953

0 commit comments

Comments
 (0)