Skip to content

Commit 47c5dfc

Browse files
committed
Add test for FilePathField
1 parent 772e2d1 commit 47c5dfc

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
@@ -128,3 +128,7 @@ def test_should_duration_convert_string():
128128

129129
def test_should_file_convert_string():
130130
assert_conversion(serializers.FileField, graphene.String)
131+
132+
133+
def test_should_filepath_convert_string():
134+
assert_conversion(serializers.FilePathField, graphene.String)

0 commit comments

Comments
 (0)