Ignore:
Timestamp:
18/12/07 15:30:24 (12 years ago)
Author:
lawrence
Message:

Modifications to ndgDirectory to expose filenames, entries and both more easily

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exist/trunk/python/ndgUtils/test_ndgDirectory.py

    r3158 r3161  
    1313        ''' Test the ability to get members of a directory and the first one of them ''' 
    1414        print self.ndgDir.members 
    15         doc=self.ndgDir.get(self.ndgDir.members[0]) 
     15        doc=self.ndgDir.get(self.ndgDir.members[0]['fileName']) 
    1616        print doc 
    1717         
     
    1919        '''Test the creation information''' 
    2020        print self.ndgDir.created() 
    21         print self.ndgDir.created(self.ndgDir.members[0]) 
     21        print self.ndgDir.created(self.ndgDir.members[0]['fileName']) 
    2222         
    2323 
Note: See TracChangeset for help on using the changeset viewer.