l.a.t.t.BaseIFAQTargetTests : class documentation

Part of lp.answers.tests.test_faqtarget View In Hierarchy

Known subclasses: lp.answers.tests.test_faqtarget.TestDistributionPermissions, lp.answers.tests.test_faqtarget.TestDSPPermissions, lp.answers.tests.test_faqtarget.TestProductPermissions

Common tests for all IFAQTargets.
Method addAnswerContact Add the test person to the faq target's answer contacts.
Method assertCanAppend Assert that the user can add an FAQ to an FAQ target.
Method assertCannotAppend Assert that the user cannot add an FAQ to an FAQ target.
Method test_owner_can_append Undocumented
Method test_direct_answer_contact_can_append Undocumented
Method test_indirect_answer_contact_can_append Undocumented
Method test_nonparticipating_user_cannot_append Undocumented
def addAnswerContact(self, answer_contact):
Add the test person to the faq target's answer contacts.
def assertCanAppend(self, user, target):
Assert that the user can add an FAQ to an FAQ target.
def assertCannotAppend(self, user, target):
Assert that the user cannot add an FAQ to an FAQ target.
def test_owner_can_append(self):
Undocumented
def test_direct_answer_contact_can_append(self):
Undocumented
def test_indirect_answer_contact_can_append(self):
Undocumented
def test_nonparticipating_user_cannot_append(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-05-26 00:00:05.