txacme.test.test_service module¶
-
class
txacme.test.test_service.AcmeIssuingServiceTests(*args, **kwargs)[source]¶ Tests for
txacme.service.AcmeIssuingService.-
test_cancellation()[source]¶ Cancelling the deferred returned by
issue_certcancels the actual issuing process.
-
test_errors()[source]¶ If a cert renewal fails within the panic interval, the panic callback is invoked; otherwise the error is logged normally.
-
test_issue_concurrently()[source]¶ Invoking
issue_certmultiple times concurrently for the same name will not start multiple issuing processes, only wait for the first process to complete.
-
test_registration_email()[source]¶ If we give our service an email address, that address will be used as a registration contact.
-
test_time_marches_on()[source]¶ Any certs that have exceeded the panic or reissue intervals will be reissued at the next check.
-
test_timer_errors()[source]¶ If the timed check fails (for example, because registration fails), the error should be caught and logged.
-
test_when_certs_valid_all_certs_valid()[source]¶ The deferred returned by
when_certs_validfires immediately if none of the certs in the store are expired.
-