l.p.t.h.PoppyTestSetup : class documentation

Part of lp.poppy.tests.helpers View In Hierarchy

Provides a setup and teardown mechanism for a poppy subprocess instance.

Use this like you would LibrarianTestSetup or similar.

Method __init__ Undocumented
Method startPoppy Start the poppy instance.
Method killPoppy Kill the poppy instance dead.
Method alive Whether or not the poppy instance is still alive.
Method verify_output Verify that poppy writes the expected output.
def __init__(self, fsroot, user='anonymous', cmd='echo @distro@; ls @fsroot@', port=3421):
Undocumented
def startPoppy(self):
Start the poppy instance.
def killPoppy(self):
Kill the poppy instance dead.
@property
def alive(self):
Whether or not the poppy instance is still alive.
def verify_output(self, expected):
Verify that poppy writes the expected output.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.