l.c.i.FakeObjectFactory(ObjectFactory) : class documentation

Part of lp.codehosting.inmemory View In Hierarchy

No class docstring
Method __init__ Undocumented
Method makeBranch Undocumented
Method makeAnyBranch Undocumented
Method makePackageBranch Undocumented
Method makePersonalBranch Undocumented
Method makeProductBranch Undocumented
Method makeDistribution Undocumented
Method makeDistroSeries Undocumented
Method makeSourcePackageName Undocumented
Method makeSourcePackage Undocumented
Method makeTeam Undocumented
Method makePerson Undocumented
Method makeProduct Undocumented
Method makeProductSeries Undocumented
Method enableDefaultStackingForProduct Give 'product' a default stacked-on branch.
Method enableDefaultStackingForPackage Give 'package' a default stacked-on branch.

Inherited from ObjectFactory:

Method getUniqueEmailAddress Undocumented
Method getUniqueInteger Return an integer unique to this factory instance.
Method getUniqueHexString Return a unique hexadecimal string.
Method getUniqueString Return a string unique to this factory instance.
Method getUniqueUnicode Undocumented
Method getUniqueURL Return a URL unique to this run of the test case.
Method getUniqueDate Return a unique date since January 1 2009.
Method makeCodeImportSourceDetails Undocumented
def __init__(self, branch_set, person_set, product_set, distribution_set, distroseries_set, sourcepackagename_set):
Undocumented
def makeBranch(self, branch_type=None, stacked_on=None, information_type=InformationType.PUBLIC, product=DEFAULT_PRODUCT, owner=None, name=None, registrant=None, sourcepackage=None):
Undocumented
def makeAnyBranch(self, **kwargs):
Undocumented
def makePackageBranch(self, sourcepackage=None, **kwargs):
Undocumented
def makePersonalBranch(self, owner=None, **kwargs):
Undocumented
def makeProductBranch(self, product=None, **kwargs):
Undocumented
def makeDistribution(self):
Undocumented
def makeDistroSeries(self):
Undocumented
def makeSourcePackageName(self):
Undocumented
def makeSourcePackage(self, distroseries=None, sourcepackagename=None):
Undocumented
def makeTeam(self, owner):
Undocumented
def makePerson(self, name=None):
Undocumented
def makeProduct(self, name=None, owner=None, information_type=InformationType.PUBLIC):
Undocumented
def makeProductSeries(self, product, name=None):
Undocumented
def enableDefaultStackingForProduct(self, product, branch=None):
Give 'product' a default stacked-on branch.
ParametersproductThe product to give a default stacked-on branch to.
branchThe branch that should be the default stacked-on branch. If not supplied, a fresh branch will be created.
def enableDefaultStackingForPackage(self, package, branch):
Give 'package' a default stacked-on branch.
ParameterspackageThe package to give a default stacked-on branch to.
branchThe branch that should be the default stacked-on branch.
API Documentation for Launchpad, generated by pydoctor at 2020-11-28 00:00:02.