txacme.testing module

Utilities for testing with txacme.

class txacme.testing.FakeClient(key, clock, ca_key=None, controller=None)[source]

Provides the same API as Client, but performs no network operations and issues certificates signed by its own fake CA.

class txacme.testing.FakeClientController(paused=False)[source]

Controls issuing for FakeClient.


Count pending issuances.


Return a deferred that fires when we are ready to issue.


Temporarily pause issuing.


Resume issuing, allowing any pending issuances to proceed.

class txacme.testing.MemoryStore(certs=None)[source]

A certificate store that keeps certificates in memory only.

class txacme.testing.NullResponder(challenge_type)[source]

A responder that does absolutely nothing.