Ignore:
Timestamp:
21 Jul 2012, 17:09:05 (12 years ago)
Author:
Henrik Bettermann
Message:

Ooooh, still the old problem, see
http://mail.dzug.org/mailman/archives/zope/2006-August/001153.html.
WAT is interpreted as GMT-1 and not GMT+1

File:
1 edited

Legend:

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

    r9037 r9039  
    918918        self.assertEqual(cdate, "2010-11-26 18:59:33")
    919919        self.assertEqual(str(payment.creation_date.tzinfo),'UTC')
     920        payment = self.processor.getEntry(dict(matric_number='100001',
     921            p_id='p2907125937570'), self.app)
     922        self.assertEqual(payment.p_id, 'p2907125937570')
     923        cdate = payment.creation_date.strftime("%Y-%m-%d %H:%M:%S")
     924        # Ooooh, still the old problem, see
     925        # http://mail.dzug.org/mailman/archives/zope/2006-August/001153.html.
     926        # WAT is interpreted as GMT-1 and not GMT+1
     927        self.assertEqual(cdate, "2010-11-25 21:16:33")
     928        self.assertEqual(str(payment.creation_date.tzinfo),'UTC')
    920929        shutil.rmtree(os.path.dirname(fin_file))
    921930        logcontent = open(self.logfile).read()
Note: See TracChangeset for help on using the changeset viewer.