Coverage for certbot/eff.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
"""Subscribes users to the EFF newsletter."""
"""High level function to take care of EFF newsletter subscriptions.
The user may be asked if they want to sign up for the newsletter if they have not already specified.
:param .IConfig config: Client configuration.
"""
"""Does the user want to be subscribed to the EFF newsletter?
:returns: True if we should subscribe the user, otherwise, False :rtype: bool
""" 'Would you be willing to share your email address with the ' "Electronic Frontier Foundation, a founding partner of the Let's " 'Encrypt project and the non-profit organization that develops ' "Certbot? We'd like to send you email about our work encrypting " "the web, EFF news, campaigns, and ways to support digital freedom. ")
"""Subscribe the user to the EFF mailing list.
:param str email: the e-mail address to subscribe
""" 'email': email, 'form_id': 'eff_supporters_library_subscribe_form'}
"""Check for errors in the server's response.
If an error occurred, it will be reported to the user.
:param requests.Response response: the server's response to the subscription request
"""
"""Notify the user of failing to sign them up for the newsletter.
:param reason: a phrase describing what the problem was beginning with a lowercase letter and no closing punctuation :type reason: `str` or `None`
""" |