Skip to content

Commit b500ffb

Browse files
committed
Add test for IPAddressField
1 parent 47c5dfc commit b500ffb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

graphene_django/rest_framework/tests/test_field_converter.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,7 @@ def test_should_file_convert_string():
132132

133133
def test_should_filepath_convert_string():
134134
assert_conversion(serializers.FilePathField, graphene.String)
135+
136+
137+
def test_should_ip_convert_string():
138+
assert_conversion(serializers.IPAddressField, graphene.String)

0 commit comments

Comments
 (0)