l.c.a.v.TestMessageVisibilityMixin : class documentation

Part of lp.coop.answersbugs.visibility View In Hierarchy

Known subclasses: lp.answers.browser.tests.test_questionmessages.TestQuestionMessageVisibility, lp.bugs.browser.tests.test_bugcomment.TestBugCommentVisibility, lp.code.browser.tests.test_branchmergeproposal.TestCodeReviewCommentVisibility

No class docstring
Method makeHiddenMessage To be overwridden by subclasses.
Method getView To be overwridden by subclasses.
Method test_admin_can_see_comments Undocumented
Method test_registry_can_see_comments Undocumented
Method test_anon_cannot_see_comments Undocumented
Method test_random_cannot_see_comments Undocumented
Method test_comment_owner_can_see_hidden_comment Undocumented
def makeHiddenMessage(self):
To be overwridden by subclasses.

This method must create and return a message bearing object (e.g. bug or question) with a hidden message/comment.

def getView(self, context, user=None, no_login=False):
To be overwridden by subclasses.

This method returns a view object rendered on the context obtained from makeHiddenMessage.

def test_admin_can_see_comments(self):
Undocumented
def test_registry_can_see_comments(self):
Undocumented
def test_anon_cannot_see_comments(self):
Undocumented
def test_random_cannot_see_comments(self):
Undocumented
def test_comment_owner_can_see_hidden_comment(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-10-20 00:00:13.