Skip to content

Commit 0132d55

Browse files
author
hw
authored
add LongField converter test
add test for Mongoengine LongField Converter to graphene.Int
1 parent f1f7b6c commit 0132d55

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
@@ -50,6 +50,10 @@ def test_sould_int_convert_int():
5050
assert_conversion(mongoengine.IntField, graphene.Int)
5151

5252

53+
def test_sould_long_convert_int():
54+
assert_conversion(mongoengine.LongField, graphene.Int)
55+
56+
5357
def test_should_object_id_convert_id():
5458
assert_conversion(mongoengine.ObjectIdField, graphene.ID)
5559

0 commit comments

Comments
 (0)