txacme.test.test_challenges module¶
Tests for txacme.challenges
.
-
class
txacme.test.test_challenges.
HTTPResponderTests
(*args, **kwargs)[source]¶ HTTP01Responder
is a responder for http-01 challenges.
-
class
txacme.test.test_challenges.
TLSResponderTests
(*args, **kwargs)[source]¶ TLSSNI01Responder
is a responder for tls-sni-01 challenges that works with txsni.
-
class
txacme.test.test_challenges.
MergingProxyTests
(*args, **kwargs)[source]¶ _MergingMappingProxy
merges two mappings together.-
test_get_both
()[source]¶ Getting an key that exists in both the underlay and the overlay returns the value from the overlay.
-
test_get_overlay
()[source]¶ Getting an key that only exists in the overlay returns the value from the overlay.
-
-
class
txacme.test.test_challenges.
LibcloudResponderTests
(*args, **kwargs)[source]¶ LibcloudDNSResponder
implements a responder for dns-01 challenges using libcloud on the backend.-
test_auto_zone
()[source]¶ If the configured zone_name is
None
, the zone will be guessed by finding the longest zone that is a suffix of the server name.
-
test_auto_zone_missing
()[source]¶ If the configured zone_name is
None
, and no matching zone is found,NotInZone
is raised.
-
test_missing_zone
()[source]¶ ZoneNotFound
is raised if the configured zone cannot be found at the configured provider.
-