Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
plone.app.layout.sitemap.tests.test_doctests.SiteMapTestCase Class Reference
Inheritance diagram for plone.app.layout.sitemap.tests.test_doctests.SiteMapTestCase:
Inheritance graph
[legend]
Collaboration diagram for plone.app.layout.sitemap.tests.test_doctests.SiteMapTestCase:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def afterSetUp
def getToolByName

Public Attributes

 browser
 uf
 ptool
 site_props

Detailed Description

base test case with convenience methods for all sitemap tests

Definition at line 18 of file test_doctests.py.


Member Function Documentation

Definition at line 21 of file test_doctests.py.

00021 
00022     def afterSetUp(self):
00023         super(SiteMapTestCase, self).afterSetUp()
00024         from Products.Five.testbrowser import Browser
00025         self.browser = Browser()
00026 
00027         self.uf = self.portal.acl_users
00028         self.uf.userFolderAddUser('root', 'secret', ['Manager'], [])
00029 
00030         self.ptool = self.getToolByName('portal_properties')
00031         self.site_props = self.ptool.site_properties

docstring for getToolByName

Definition at line 32 of file test_doctests.py.

00032 
00033     def getToolByName(self, name):
00034         """docstring for getToolByName"""
00035         return getToolByName(self.portal, name)
00036 

Here is the call graph for this function:


Member Data Documentation

Definition at line 24 of file test_doctests.py.

Definition at line 29 of file test_doctests.py.

Definition at line 30 of file test_doctests.py.

Definition at line 26 of file test_doctests.py.


The documentation for this class was generated from the following file: