Ignore:
Timestamp:
26 Oct 2012, 21:47:44 (12 years ago)
Author:
Henrik Bettermann
Message:

Log payment category.

Adjust to previous revisions.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py

    r9406 r9434  
    117117    payment.payment_date = datetime.utcnow()
    118118    msg = _('Successful callback received')
    119     log = 'valid callback for payment %s: %s' % (payment.p_id, sr)
     119    log = 'valid callback for %s payment %s: %s' % (
     120        payment.p_category, payment.p_id, sr)
    120121    return True, msg, log
    121122
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py

    r9297 r9434  
    2727from waeup.kofa.students.tests.test_browser import (
    2828    StudentsFullSetup, SAMPLE_IMAGE)
     29from waeup.kofa.students.accommodation import BedTicket
    2930from waeup.kofa.testing import FunctionalTestCase
    3031from waeup.kofa.interfaces import (
     
    7071
    7172    layer = FunctionalLayer
     73
     74    def setUp(self):
     75        super(StudentUITests, self).setUp()
     76
     77        bedticket = BedTicket()
     78        bedticket.booking_session = 2004
     79        bedticket.bed_type = u'any bed type'
     80        bedticket.bed = self.app['hostels']['hall-1']['hall-1_A_101_A']
     81        bedticket.bed_coordinates = u'My bed coordinates'
     82        self.student['accommodation'].addBedTicket(bedticket)
    7283
    7384    def test_manage_payments(self):
     
    271282
    272283    def test_student_accommodation(self):
     284        del self.student['accommodation']['2004']
    273285        # Login
    274286        self.browser.open(self.login_path)
Note: See TracChangeset for help on using the changeset viewer.