l.b.b.t.t.BaseNewSpecificationInformationTypeDefaultMixin : class documentation

Part of lp.blueprints.browser.tests.test_specification View In Hierarchy

Known subclasses: lp.blueprints.browser.tests.test_specification.TestNewSpecificationDefaultInformationTypeProduct, lp.blueprints.browser.tests.test_specification.TestNewSpecificationDefaultInformationTypeProductSeries

No class docstring
Method makeTarget Undocumented
Method ensurePolicy Helper to call _ensurePolicies
Method getSpecification Helper to get the specification.
Method submitSpec Submit a Specification via a browser.
Method test_public Creating from PUBLIC policy allows only PUBLIC.
Method test_public_or_proprietary Creating from PUBLIC_OR_PROPRIETARY defaults to PUBLIC.
Method test_proprietary_or_public Creating from PROPRIETARY_OR_PUBLIC defaults to PROPRIETARY.
Method test_proprietary PROPRIETARY only allows proprietary when creating blueprints.
Method test_embargoed_or_proprietary Creating from EMBARGOED_OR_PROPRIETARY defaults to embargoed.
Method _setUp Undocumented
def _setUp(self):
Undocumented
def makeTarget(self, policy, owner=None):
Undocumented
def ensurePolicy(self, target, information_type):
Helper to call _ensurePolicies

Useful because we need to follow to product from ProductSeries to get to _ensurePolicies.

def getSpecification(self, target, name):
Helper to get the specification.

Useful because we need to follow to product from a ProductSeries.

def submitSpec(self, browser):
Submit a Specification via a browser.
def test_public(self):
Creating from PUBLIC policy allows only PUBLIC.
def test_public_or_proprietary(self):
Creating from PUBLIC_OR_PROPRIETARY defaults to PUBLIC.
def test_proprietary_or_public(self):
Creating from PROPRIETARY_OR_PUBLIC defaults to PROPRIETARY.
def test_proprietary(self):
PROPRIETARY only allows proprietary when creating blueprints.
def test_embargoed_or_proprietary(self):
Creating from EMBARGOED_OR_PROPRIETARY defaults to embargoed.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.