Skip to content

Commit 772e2d1

Browse files
committed
Add test for file field
1 parent a7c3337 commit 772e2d1

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
@@ -124,3 +124,7 @@ def test_should_dict_convert_dict():
124124

125125
def test_should_duration_convert_string():
126126
assert_conversion(serializers.DurationField, graphene.String)
127+
128+
129+
def test_should_file_convert_string():
130+
assert_conversion(serializers.FileField, graphene.String)

0 commit comments

Comments
 (0)