Back to index

plone3  3.1.7
Public Member Functions
Archetypes.tests.test_metadata.ExtMetadataDefaultLanguageTest Class Reference
Inheritance diagram for Archetypes.tests.test_metadata.ExtMetadataDefaultLanguageTest:
Inheritance graph
[legend]
Collaboration diagram for Archetypes.tests.test_metadata.ExtMetadataDefaultLanguageTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def testDefaultLanguage

Detailed Description

Definition at line 219 of file test_metadata.py.


Member Function Documentation

Definition at line 221 of file test_metadata.py.

00221 
00222     def testDefaultLanguage(self):
00223         # This is handled at creation time, so the prop must be set
00224         # then, its not a runtime fallback to the property
00225         self.folder.invokeFactory(id="dummy",
00226                                   type_name="SimpleType")
00227         dummy = getattr(self.folder, 'dummy')
00228         self.failUnlessEqual(dummy.Language(), config.LANGUAGE_DEFAULT)
00229 

Here is the call graph for this function:


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