c.l.f.test_system_documentation : module documentation

Part of canonical.launchpad.ftests

Test the examples included in the system documentation in lib/canonical/launchpad/doc.
Function lobotomize_stevea Set SteveA's email address' status to NEW.
Function poExportSetUp Setup the PO export script tests.
Function poExportTearDown Tear down the PO export script tests.
Function uploaderSetUp setup the package uploader script tests.
Function uploaderTearDown Tear down the package uploader script tests.
Function archivepublisherSetUp Setup the archive publisher script tests.
Function branchscannerSetUp Setup the user for the branch scanner tests.
Function branchscannerTearDown Tear down the branch scanner tests.
Function uploadQueueSetUp Undocumented
Function layerlessTearDown Clean up any Zope registrations.
Function bugLinkedToQuestionSetUp Setup the question and linked bug for testing.
Function uploaderBugLinkedToQuestionSetUp Undocumented
Function uploadQueueBugLinkedToQuestionSetUp Undocumented
Class ProcessMailLayer Layer containing the tests running inside process-mail.py.
Function test_suite Undocumented
Function _createUbuntuBugTaskLinkedToQuestion Get the id of an Ubuntu bugtask linked to a question.
def lobotomize_stevea():
Set SteveA's email address' status to NEW.

Call this method first in a test's setUp where needed. Tests using this function should be refactored to use the unaltered sample data and this function eventually removed.

In the past, SteveA's account erroneously appeared in the old ValidPersonOrTeamCache materialized view. This materialized view has since been replaced and now SteveA is correctly listed as invalid in the sampledata. This fix broke some tests testing code that did not use the ValidPersonOrTeamCache to determine validity.

def poExportSetUp(test):
Setup the PO export script tests.
def poExportTearDown(test):
Tear down the PO export script tests.
def uploaderSetUp(test):
setup the package uploader script tests.
def uploaderTearDown(test):
Tear down the package uploader script tests.
def archivepublisherSetUp(test):
Setup the archive publisher script tests.
def branchscannerSetUp(test):
Setup the user for the branch scanner tests.
def branchscannerTearDown(test):
Tear down the branch scanner tests.
def uploadQueueSetUp(test):
Undocumented
def layerlessTearDown(test):
Clean up any Zope registrations.
def _createUbuntuBugTaskLinkedToQuestion():
Get the id of an Ubuntu bugtask linked to a question.

The Ubuntu team is set as the answer contact for Ubuntu, and no-priv is used as the submitter..

def bugLinkedToQuestionSetUp(test):
Setup the question and linked bug for testing.
def uploaderBugLinkedToQuestionSetUp(test):
Undocumented
def uploadQueueBugLinkedToQuestionSetUp(test):
Undocumented
def test_suite():
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.