Ejemplo n.º 1
0
def delete_user_service(pyramid_request):
    return DeleteUserService(request=pyramid_request)
Ejemplo n.º 2
0
def delete_user_service(pyramid_request, annotation_delete_service):
    return DeleteUserService(pyramid_request, annotation_delete_service)
Ejemplo n.º 3
0
def delete_user_service(pyramid_config, pyramid_request):
    service = Mock(spec_set=DeleteUserService(request=pyramid_request))
    pyramid_config.register_service(service, name='delete_user')
    return service