def METHOD_NAME(user_service, pyramid_request):
    pyramid_request.params = {"userid": "acct:bob@example.org"}
    users_activate(pyramid_request)
    user_service.fetch.return_value.activate.assert_called_once_with()