Changeset 201


Ignore:
Timestamp:
05/15/09 16:10:38 (5 years ago)
Author:
jon
Message:

Check in the first test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • collective.imstransport/trunk/collective/imstransport/tests/testCC.py

    r200 r201  
    249249        ccr = CCReader() 
    250250        text = '\n  FN:    Howard Maggleby \n ' 
     251 
    251252        val = ccr.getVcardValue('FN', text.split('\n')) 
    252253        self.assertEqual(val, 'Howard Maggleby') 
     
    255256    """ 
    256257    """ 
     258     
     259    def testWriteManifest(self): 
     260        ccw = CCWriter() 
     261        manifest = ccw.createManifest('001', '2009-05-12 15:07:34') 
     262        id = manifest.getAttribute('identifier') 
     263        ver = manifest.getAttribute('version') 
     264        self.assertEqual(id, '001') 
     265        self.assertEqual(ver, '2009-05-12 15:07:34') 
    257266 
    258267                 
Note: See TracChangeset for help on using the changeset viewer.