def test_should_multiplechoicefield_convert_to_list_of_string():
field = assert_conversion(serializers.MultipleChoiceField, graphene.List, choices=[1,2,3])
assert field.of_type == graphene.String
test_field_converter.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录