Skip to content

Commit de1417c

Browse files
committed
feat(Decimal128Field Test): Adds tests for decimal128 field conversion
1 parent 9157030 commit de1417c

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
@@ -78,6 +78,10 @@ def test_should_float_convert_float():
7878
assert_conversion(mongoengine.FloatField, graphene.Float)
7979

8080

81+
def test_should_decimal128_convert_decimal():
82+
assert_conversion(mongoengine.Decimal128Field, graphene.Decimal)
83+
84+
8185
def test_should_datetime_convert_datetime():
8286
assert_conversion(mongoengine.DateTimeField, graphene.DateTime)
8387

0 commit comments

Comments
 (0)