Changeset 9434 for main/waeup.fceokene/trunk/src/waeup/fceokene
- Timestamp:
- 26 Oct 2012, 21:47:44 (12 years ago)
- 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 117 117 payment.payment_date = datetime.utcnow() 118 118 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) 120 121 return True, msg, log 121 122 -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r9297 r9434 27 27 from waeup.kofa.students.tests.test_browser import ( 28 28 StudentsFullSetup, SAMPLE_IMAGE) 29 from waeup.kofa.students.accommodation import BedTicket 29 30 from waeup.kofa.testing import FunctionalTestCase 30 31 from waeup.kofa.interfaces import ( … … 70 71 71 72 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) 72 83 73 84 def test_manage_payments(self): … … 271 282 272 283 def test_student_accommodation(self): 284 del self.student['accommodation']['2004'] 273 285 # Login 274 286 self.browser.open(self.login_path)
Note: See TracChangeset for help on using the changeset viewer.