certbot.plugins.dns_test_common_lexicon module

Base test class for DNS authenticators built on Lexicon.

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]