Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
CMFDynamicViewFTI.tests.test_fti.TestEmptyLayoutBug Class Reference
Inheritance diagram for CMFDynamicViewFTI.tests.test_fti.TestEmptyLayoutBug:
Inheritance graph
[legend]
Collaboration diagram for CMFDynamicViewFTI.tests.test_fti.TestEmptyLayoutBug:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def afterSetUp
def test_FolderEmptyLayoutBug
def test_DocumentEmptyLayoutBug

Public Attributes

 dynfolder
 dynfolder_path
 dyndocument
 dyndocument_path
 basic

Detailed Description

Definition at line 181 of file test_fti.py.


Member Function Documentation

Definition at line 184 of file test_fti.py.

00184 
00185     def afterSetUp(self):
00186         # Make a DynFolder
00187         self.folder.invokeFactory('DynFolder', id='dynfolder')
00188         self.dynfolder = self.folder.dynfolder
00189         self.dynfolder.layout = '' # Empty layout triggers bug
00190         self.dynfolder_path = self.dynfolder.absolute_url(1)
00191 
00192         # Make a DynDocument
00193         self.folder.invokeFactory('DynDocument', id='dyndocument')
00194         self.dyndocument = self.folder.dyndocument
00195         self.dyndocument.layout = '' # Empty layout triggers bug
00196         self.dyndocument_path = self.dyndocument.absolute_url(1)
00197 
00198         self.basic = '%s:%s' % (CMFDVFTITestCase.default_user,
00199                                 CMFDVFTITestCase.default_password)

Definition at line 204 of file test_fti.py.

00204 
00205     def test_DocumentEmptyLayoutBug(self):
00206         response = self.publish(self.dyndocument_path+'/view', basic=self.basic)
00207         self.assertEqual(response.getStatus(), 200)
00208 

Definition at line 200 of file test_fti.py.

00200 
00201     def test_FolderEmptyLayoutBug(self):
00202         response = self.publish(self.dynfolder_path+'/view', basic=self.basic)
00203         self.assertEqual(response.getStatus(), 200)


Member Data Documentation

Definition at line 197 of file test_fti.py.

Definition at line 193 of file test_fti.py.

Definition at line 195 of file test_fti.py.

Definition at line 187 of file test_fti.py.

Definition at line 189 of file test_fti.py.


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