twisted.python.test.test_systemd.MemoryOnlyMixin(object)
class documentationtwisted.python.test.test_systemd
(View In Hierarchy)
Known subclasses: twisted.python.test.test_systemd.MemoryOnlyTests
Mixin for a TestCase
subclass which creates creating a fake, in-memory implementation of
inheritedDescriptors
. This provides verification that the
fake behaves in a compatible way with the real implementation.
Method | getDaemon | No summary |
Invent count
new file descriptors (actually
integers, attached to no real file description), starting at
start
. Construct and return a new ListenFDs
which will claim those integers represent inherited file descriptors.