def test_news_listing_no_description(self, browser):
     """
     This test makes sure that the news listing view does not
     render the generic description.
     """
     browser.login().visit(self.news_folder, view='news_listing')
     self.assertIsNone(
         plone.document_description(),
         'Found a document description which should not be there.'
     )
Beispiel #2
0
 def test_no_document_description(self, browser):
     browser.open()
     self.assertEquals(None, plone.document_description())
Beispiel #3
0
 def test_document_description(self, browser):
     browser.login(SITE_OWNER_NAME).open(view='overview-controlpanel')
     self.assertEquals('Configuration area for Plone and add-on Products.',
                       plone.document_description())