Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
CMFCore.tests.test_DirectoryView.DirectoryViewIgnoreTests Class Reference
Inheritance diagram for CMFCore.tests.test_DirectoryView.DirectoryViewIgnoreTests:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.tests.test_DirectoryView.DirectoryViewIgnoreTests:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setUp
def test_ignored

Public Attributes

 manual_ign

Detailed Description

Definition at line 227 of file test_DirectoryView.py.


Member Function Documentation

Definition at line 229 of file test_DirectoryView.py.

00229 
00230     def setUp( self ):
00231         FSDVTest.setUp(self)
00232         self.manual_ign = ('CVS', 'SVN', 'test_manual_ignore.py')
00233         self._registerDirectory(self , ignore=self.manual_ign)

Definition at line 234 of file test_DirectoryView.py.

00234 
00235     def test_ignored(self):
00236         # Test that "artifact" files and dirs are ignored,
00237         # even when a custom ignore list is used; and that the
00238         # custom ignore list is also honored
00239         auto_ign = ('#test1', '.test1', 'test1~')
00240         must_ignore = self.manual_ign + auto_ign + ('test_manual_ignore',)
00241         visible = self.ob.fake_skin.objectIds()
00242 
00243         for name in must_ignore:
00244             self.failIf(name in visible)
00245 


Member Data Documentation

Definition at line 231 of file test_DirectoryView.py.


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