l.b.t.test_bugtarget : module documentation

Part of lp.bugs.tests

Test harness for running tests agains IBugTarget implementations.

This module runs the interface test against the Product, ProductSeries ProjectGroup, DistributionSourcePackage, and DistroSeries implementations IBugTarget. It runs the bugtarget-questiontarget.txt test.

Function bugtarget_filebug File a bug as the current user on the bug target and return it.
Function productSetUp Setup the IProduct test.
Function project_filebug File a bug on a project.
Function projectSetUp Setup the IProjectGroup test.
Function productseries_filebug File a bug on a product series.
Function productSeriesSetUp Setup the IProductSeries test.
Function distributionSetUp Setup the IDistribution test.
Function distributionSourcePackageSetUp Setup the IDistributionSourcePackage test.
Function distroseries_filebug File a bug on a distroseries.
Function distributionSeriesSetUp Setup the IDistroSeries test.
Function sourcepackage_filebug File a bug on a source package in a distroseries.
Class BugTargetQuestionTargetTestCase Converting a bug into a question.
Function test_suite Return the IBugTarget TestSuite.
def bugtarget_filebug(bugtarget, summary, status=None):
File a bug as the current user on the bug target and return it.
def productSetUp(test):
Setup the IProduct test.
def project_filebug(project, summary, status=None):
File a bug on a project.

Since it's not possible to file a bug on a project directly, the bug will be filed on one of its products.

def projectSetUp(test):
Setup the IProjectGroup test.
def productseries_filebug(productseries, summary, status=None):
File a bug on a product series.

Since it's not possible to file a bug on a product series directly, the bug will first be filed on its product, then a series task will be created.

def productSeriesSetUp(test):
Setup the IProductSeries test.
def distributionSetUp(test):
Setup the IDistribution test.
def distributionSourcePackageSetUp(test):
Setup the IDistributionSourcePackage test.
def distroseries_filebug(distroseries, summary, sourcepackagename=None, status=None):
File a bug on a distroseries.

Since bugs can't be filed on distroseriess directly, a bug will first be filed on its distribution, and then a series task will be added.

def distributionSeriesSetUp(test):
Setup the IDistroSeries test.
def sourcepackage_filebug(source_package, summary, status=None):
File a bug on a source package in a distroseries.
def test_suite():
Return the IBugTarget TestSuite.
API Documentation for Launchpad, generated by pydoctor at 2018-10-15 00:00:04.