Back to index

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

List of all members.

Public Member Functions

def test_strangeUnallowedIds

Detailed Description

Definition at line 177 of file test_filename.py.


Member Function Documentation

Certain IDs used to give an error and are unusable

They're set in zope's lib/python/App/Product.py. Examples:
home, version. This test used to include 'icon', too, but that's
apparently really an id that's already been taken (instead of
a bug).

Definition at line 178 of file test_filename.py.

00178 
00179     def test_strangeUnallowedIds(self):
00180         """ Certain IDs used to give an error and are unusable
00181 
00182         They're set in zope's lib/python/App/Product.py. Examples:
00183         home, version. This test used to include 'icon', too, but that's
00184         apparently really an id that's already been taken (instead of
00185         a bug).
00186         """
00187         strangeIds = ['home', 'version']
00188         for id in strangeIds:
00189             self.folder.invokeFactory('Folder', id)
00190             self.assert_(id in self.folder.objectIds())
00191 


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