test_field_converter.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:graphene-django 作者: graphql-python 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号