复制代码def test_should_uuid_convert_string(): if hasattr(serializers, 'UUIDField'): assert_conversion(serializers.UUIDField, graphene.String)