l.s.d.t.t.TacTestSetupTestCase(testtools.TestCase) : class documentation

Part of lp.services.daemons.tests.test_tachandler View In Hierarchy

Some tests for the error handling of TacTestSetup.
Method test_okay TacTestSetup sets up and runs a simple service.
Method test_debug_sql TacTestSetup works even under LP_DEBUG_SQL=1.
Method test_missingTac TacTestSetup raises TacException if the tacfile doesn't exist
Method test_couldNotListenTac If the tac fails due to not being able to listen on the needed
Method test_stalePidFile TacTestSetup complains about stale pid files.
Method test_truncateLog truncateLog truncates the log, if it exists, leaving the record of the
def test_okay(self):
TacTestSetup sets up and runs a simple service.
def test_debug_sql(self):
TacTestSetup works even under LP_DEBUG_SQL=1.
def test_missingTac(self):
TacTestSetup raises TacException if the tacfile doesn't exist
def test_couldNotListenTac(self):
If the tac fails due to not being able to listen on the needed port, TacTestSetup will fail.
def test_stalePidFile(self):
TacTestSetup complains about stale pid files.
def test_truncateLog(self):
truncateLog truncates the log, if it exists, leaving the record of the service start in place.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.