l.r.t.t.BaseSharingPolicyTests : class documentation

Part of lp.registry.tests.test_product View In Hierarchy

Known subclasses: lp.registry.tests.test_product.ProductBranchSharingPolicyTestCase, lp.registry.tests.test_product.ProductBugSharingPolicyTestCase

Common tests for product sharing policies.
Method setSharingPolicy Undocumented
Method getSharingPolicy Undocumented
Method setUp Undocumented
Method test_owner_can_set_policy Undocumented
Method test_commercial_admin_can_set_policy Undocumented
Method test_random_cannot_set_policy Undocumented
Method test_anonymous_cannot_set_policy Undocumented
Method test_proprietary_forbidden_without_commercial_sub Undocumented
Method test_proprietary_allowed_with_commercial_sub Undocumented
Method test_setting_proprietary_creates_access_policy Undocumented
Method test_unused_policies_are_pruned Undocumented
Method test_proprietary_products_forbid_public_policies Undocumented
def setSharingPolicy(self, policy, user):
Undocumented
def getSharingPolicy(self):
Undocumented
def setUp(self):
Undocumented
def test_owner_can_set_policy(self):
Undocumented
def test_commercial_admin_can_set_policy(self):
Undocumented
def test_random_cannot_set_policy(self):
Undocumented
def test_anonymous_cannot_set_policy(self):
Undocumented
def test_proprietary_forbidden_without_commercial_sub(self):
Undocumented
def test_proprietary_allowed_with_commercial_sub(self):
Undocumented
def test_setting_proprietary_creates_access_policy(self):
Undocumented
def test_unused_policies_are_pruned(self):
Undocumented
def test_proprietary_products_forbid_public_policies(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-08-22 00:00:19.