certbot.plugins.dns_test_common module
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= object>)>), identifier=Identifier(typ=IdentifierType(dns), value='example.com'))
test_get_chall_pref() None[source]
test_parser_arguments() None[source]
certbot.plugins.dns_test_common.write(values: Mapping[str, Any], path: str) None[source]
Write the specified values to a config file.
Parameters:
谢谢你的反馈!