# certbot.plugins.dns_test_common_lexicon module

Base test class for DNS authenticators built on Lexicon.

class certbot.plugins.dns_test_common_lexicon.BaseLexiconAuthenticatorTest

  Bases: `certbot.plugins.dns_test_common.BaseAuthenticatorTest`

  test_perform(unused_mock_get_utility)
  test_cleanup()

class certbot.plugins.dns_test_common_lexicon.BaseLexiconClientTest

  Bases: `object`

  DOMAIN_NOT_FOUND = Exception('No domain found')
  GENERIC_ERROR

    alias of `requests.exceptions.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()
  test_add_txt_record_try_twice_to_find_domain()
  test_add_txt_record_fail_to_find_domain()
  test_add_txt_record_fail_to_authenticate()
  test_add_txt_record_fail_to_authenticate_with_unknown_error()
  test_add_txt_record_error_finding_domain()
  test_add_txt_record_error_adding_record()
  test_del_txt_record()
  test_del_txt_record_fail_to_find_domain()
  test_del_txt_record_fail_to_authenticate()
  test_del_txt_record_fail_to_authenticate_with_unknown_error()
  test_del_txt_record_error_finding_domain()
  test_del_txt_record_error_deleting_record()