l.b.t.h.BuilddManagerTestSetup(TacTestSetup) : class documentation

Part of lp.buildmaster.tests.harness View In Hierarchy

Setup BuilddManager for use by functional tests.
Method precreateLogfile Precreate a logfile in the root.
Method setUpRoot Create TacTestSetup.root for storing the log and pid files.
Method root Directory where log and pid files will be stored.
Method tacfile Absolute path to the 'buildd-manager' tac file.
Method pidfile The tac pid file path.
Method logfile The tac log file path.

Inherited from TacTestSetup:

Method setUp Undocumented
Method removeLog Undocumented
Method truncateLog Truncate the log file.
Method daemon_directory Undocumented
Method _hasDaemonStarted Has the daemon started?
def precreateLogfile(self, content, repeat=1):
Precreate a logfile in the root.
ParameterscontentA string to use as the content of the file.
repeatThe number of times to repeat the string in the file. This is meant to be used to easily create larger files.
def setUpRoot(self):
Create TacTestSetup.root for storing the log and pid files.

Remove the directory and create a new one if it exists.

@property
def root(self):
Directory where log and pid files will be stored.
@property
def tacfile(self):
Absolute path to the 'buildd-manager' tac file.
@property
def pidfile(self):
The tac pid file path.

Will be created when the tac file actually runs.

@property
def logfile(self):
The tac log file path.

Will be created when the tac file actually runs.

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