Ignore:
Timestamp:
4 Sep 2012, 07:03:24 (12 years ago)
Author:
Henrik Bettermann
Message:

Check if we can import p_current.

File:
1 edited

Legend:

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

    r9039 r9151  
    915915            p_id='p2907979737440'), self.app)
    916916        self.assertEqual(payment.p_id, 'p2907979737440')
     917        self.assertTrue(payment.p_current)
    917918        cdate = payment.creation_date.strftime("%Y-%m-%d %H:%M:%S")
    918919        self.assertEqual(cdate, "2010-11-26 18:59:33")
     
    921922            p_id='p2907125937570'), self.app)
    922923        self.assertEqual(payment.p_id, 'p2907125937570')
     924        self.assertFalse(payment.p_current)
    923925        cdate = payment.creation_date.strftime("%Y-%m-%d %H:%M:%S")
    924926        # Ooooh, still the old problem, see
     
    932934        self.assertTrue(
    933935            'INFO - system - K1000001 - Payment ticket updated: '
    934             'p_id=p1266236341955, p_item=BTECHBDT, '
    935             'creation_date=2010-02-15 13:19:01+00:00, r_code=00, '
    936             'r_amount_approved=19500.0, p_category=schoolfee, '
    937             'amount_auth=19500.0, p_state=paid'
     936            'p_item=BTECHBDT, creation_date=2010-02-15 13:19:01+00:00, '
     937            'p_category=schoolfee, amount_auth=19500.0, p_current=True, '
     938            'p_id=p1266236341955, r_code=00, r_amount_approved=19500.0, '
     939            'p_state=paid'
    938940            in logcontent)
    939941
Note: See TracChangeset for help on using the changeset viewer.