Ignore:
Timestamp:
17 Apr 2012, 23:35:24 (13 years ago)
Author:
uli
Message:
  • Use datetime for applicants containers and
  • Register new datetime widget as default for entering datetimes.

Fixed all tests to work with the new stuff.

As this is just a quick shot I put all changes into one commit
to ease any later rollback.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_batching.py

    r8167 r8200  
    639639        self.assertEqual(payment.p_id, 'p1290797973744')
    640640        cdate = payment.creation_date.strftime("%Y-%m-%d %H:%M:%S")
    641         self.assertEqual(cdate, "2010-11-26 19:59:33")
    642         self.assertEqual(str(payment.creation_date.tzinfo),'tzinfo(60)')
     641        self.assertEqual(cdate, "2010-11-26 18:59:33")
     642        self.assertEqual(str(payment.creation_date.tzinfo),'UTC')
    643643        shutil.rmtree(os.path.dirname(fin_file))
    644644
Note: See TracChangeset for help on using the changeset viewer.