l.s.l.t.t.FakeServerTestSetup(TacTestSetup) : class documentation

Part of lp.services.librarian.tests.test_client View In Hierarchy

Undocumented
Method setUp Undocumented
Method setUpRoot Override this.
Method root Undocumented
Method tacfile Undocumented
Method pidfile Undocumented
Method logfile Undocumented
Method removeLog Undocumented
Method _hasDaemonStarted Has the daemon started?

Inherited from TacTestSetup:

Method truncateLog Truncate the log file.
Method daemon_directory Undocumented
def setUp(self):
Undocumented
def setUpRoot(self):
Override this.

This should be able to cope with the root already existing, because it will be left behind after each test in case it's needed to diagnose a test failure (e.g. log files might contain helpful tracebacks).

@cachedproperty
def root(self):
Undocumented
@property
def tacfile(self):
Undocumented
@property
def pidfile(self):
Undocumented
@property
def logfile(self):
Undocumented
def removeLog(self):
Undocumented
def _hasDaemonStarted(self):
Has the daemon started?

Startup is recognized by the appearance of readyservice.LOG_MAGIC in the log file.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.