mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 14:26:10 -04:00
Merge branch 'add_dns01_challenge' into test-add_dns01_challenge
This commit is contained in:
commit
d5413cbc8f
2 changed files with 7 additions and 2 deletions
|
|
@ -226,7 +226,6 @@ class DNS01Response(KeyAuthorizationChallengeResponse):
|
|||
:param unicode domain: Domain name being verified.
|
||||
:param account_public_key: Public key for the key pair
|
||||
being authorized.
|
||||
:param JWK account_public_key:
|
||||
|
||||
:returns: ``True`` iff validation with the TXT records resolved from a
|
||||
DNS server is successful.
|
||||
|
|
|
|||
|
|
@ -1,11 +1,17 @@
|
|||
"""Tests for acme.dns_resolver."""
|
||||
import unittest
|
||||
|
||||
import dns
|
||||
import mock
|
||||
|
||||
try:
|
||||
import dns
|
||||
except ImportError:
|
||||
dns = None
|
||||
|
||||
from acme import dns_resolver
|
||||
|
||||
@unittest.skipIf(dns is None,
|
||||
"dnspython is not available, skipping dns_resolver tests")
|
||||
class TxtRecordsForNameTest(unittest.TestCase):
|
||||
|
||||
def create_txt_response(self, name, txt_records):
|
||||
|
|
|
|||
Loading…
Reference in a new issue