l.s.s.t.t.TestPPAReport(unittest.TestCase) : class documentation

Part of lp.soyuz.scripts.tests.test_ppareport View In Hierarchy

Test the PPAReportScript class.
Method setUp Reset the PPA repository root.
Method getReporter Return a PPAReportScript instance.
Method testDeniedOptionCombination Undocumented
Method testDiskReportsBlockedWithoutDiskAccess Undocumented
Method testGetActivePPAs Undocumented
Method testOverQuota Undocumented
Method testUserEmails Undocumented
Method testOrphanRepos Undocumented
Method testMissingRepos Undocumented
Method testOutput Undocumented
Method testRunMain Undocumented
def setUp(self):
Reset the PPA repository root.
def getReporter(self, ppa_owner=None, gen_over_quota=False, gen_user_emails=False, gen_orphan_repos=False, gen_missing_repos=False, output=None, quota_threshold=None):
Return a PPAReportScript instance.

When the 'output' command-line options is not set it overrides the script setup to store output in a StringIO object so it can be verified later.

def testDeniedOptionCombination(self):
Undocumented
def testDiskReportsBlockedWithoutDiskAccess(self):
Undocumented
def testGetActivePPAs(self):
Undocumented
def testOverQuota(self):
Undocumented
def testUserEmails(self):
Undocumented
def testOrphanRepos(self):
Undocumented
def testMissingRepos(self):
Undocumented
def testOutput(self):
Undocumented
def testRunMain(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2020-09-29 00:00:05.