# certbot.plugins.dns_test_common module

Base test class for DNS authenticators.

class certbot.plugins.dns_test_common.BaseAuthenticatorTest

  Bases: `object`

  A base test class to reduce duplication between test code for DNS Authenticator Plugins.

  Assumes:

    - That subclasses also subclass unittest.TestCase

    - That the authenticator is stored as self.auth

  achall = KeyAuthorizationAnnotatedChallenge(challb=DNS01(token=b'17817c66b60ce2e4012dfad92657527a'), domain='example.com', account_key=JWKRSA(key=<ComparableRSAKey(<cryptography.hazmat.bindings._rust.openssl.rsa.RSAPrivateKey object>)>), identifier=Identifier(typ=IdentifierType(dns), value='example.com'))
  test_more_info() → None
  test_get_chall_pref() → None
  test_parser_arguments() → None

certbot.plugins.dns_test_common.write(values: Mapping[str, Any], path: str) → None

  Write the specified values to a config file.

  Parameters:

    - values (dict) – A map of values to write.

    - path (str) – Where to write the values.