Back to index

plone3  3.1.7
Public Member Functions
Archetypes.tests.test_construction.FactoryTest Class Reference
Inheritance diagram for Archetypes.tests.test_construction.FactoryTest:
Inheritance graph
Collaboration diagram for Archetypes.tests.test_construction.FactoryTest:
Collaboration graph

List of all members.

Public Member Functions

def testSimplePortalType
def XXXtestCopiedFTIPortalType

Detailed Description

Definition at line 5 of file

Member Function Documentation

Definition at line 6 of file

00007     def testSimplePortalType(self):
00008         self.folder.invokeFactory(id="dummy", type_name="SimpleType")
00009         self.assertEqual(self.folder.dummy.getPtype(), "Simple Type")

Definition at line 10 of file

00011     def XXXtestCopiedFTIPortalType(self):
00012         # A known bug where `default_method` doesn't have the correct
00013         # portal type available.  For a discussion, see
00014         #
00015         self.folder.invokeFactory(id="dummy", type_name="MySimpleType")
00016         self.assertEqual(self.folder.dummy.getPtype(), "My Simple Type")

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