certbot.plugins.dns_test_common module¶
Base test class for DNS authenticators.
- class certbot.plugins.dns_test_common.BaseAuthenticatorTest[source]¶
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.backends.openssl.rsa._RSAPrivateKey object>)>))¶