certbot.plugins.dns_test_common_lexicon module

Internal class delegating to a module, and displaying warnings when attributes related to deprecated attributes in the current module.

class certbot.plugins.dns_test_common_lexicon.BaseLexiconAuthenticatorTest[source]

Bases: BaseAuthenticatorTest

test_perform(unused_mock_get_utility: Any) None[source]
test_cleanup() None[source]
class certbot.plugins.dns_test_common_lexicon.BaseLexiconClientTest[source]

Bases: object

DOMAIN_NOT_FOUND = Exception('No domain found')
GENERIC_ERROR

alias of RequestException

LOGIN_ERROR = HTTPError('400 Client Error: ...')
UNKNOWN_LOGIN_ERROR = HTTPError('500 Surprise! Error: ...')
record_prefix = '_acme-challenge'
record_name = '_acme-challenge.example.com'
record_content = 'bar'
test_add_txt_record() None[source]
test_add_txt_record_try_twice_to_find_domain() None[source]
test_add_txt_record_fail_to_find_domain() None[source]
test_add_txt_record_fail_to_authenticate() None[source]
test_add_txt_record_fail_to_authenticate_with_unknown_error() None[source]
test_add_txt_record_error_finding_domain() None[source]
test_add_txt_record_error_adding_record() None[source]
test_del_txt_record() None[source]
test_del_txt_record_fail_to_find_domain() None[source]
test_del_txt_record_fail_to_authenticate() None[source]
test_del_txt_record_fail_to_authenticate_with_unknown_error() None[source]
test_del_txt_record_error_finding_domain() None[source]
test_del_txt_record_error_deleting_record() None[source]
class certbot.plugins.dns_test_common_lexicon.BaseLexiconDNSAuthenticatorTest[source]

Bases: BaseAuthenticatorTest

DOMAIN_NOT_FOUND = Exception('No domain found')
GENERIC_ERROR

alias of RequestException

LOGIN_ERROR = HTTPError('400 Client Error: ...')
UNKNOWN_LOGIN_ERROR = HTTPError('500 Surprise! Error: ...')
test_perform_succeed() None[source]
test_perform_with_one_domain_resolution_failure_succeed() None[source]
test_perform_with_two_domain_resolution_failures_raise() None[source]
test_perform_with_domain_resolution_general_failure_raise() None[source]
test_perform_with_auth_failure_raise() None[source]
test_perform_with_unknown_auth_failure_raise() None[source]
test_perform_with_create_record_failure_raise() None[source]
test_cleanup_success() None[source]
test_cleanup_with_auth_failure_ignore() None[source]
test_cleanup_with_unknown_auth_failure_ignore() None[source]
test_cleanup_with_domain_resolution_failure_ignore() None[source]
test_cleanup_with_domain_resolution_general_failure_ignore() None[source]
test_cleanup_with_delete_record_failure_ignore() None[source]