Ignore:
Timestamp:
1 Dec 2012, 17:53:14 (12 years ago)
Author:
Henrik Bettermann
Message:

Add some comment to remind of the dangerous 'fake_approve' page. I have no idea how to solve this problem described in the comment.

File:
1 edited

Legend:

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

    r9741 r9760  
    20992099        self.assertRaises(
    21002100            Unauthorized, self.browser.open, payment_url + '/approve')
    2101         # In the base package they can 'use' a fake approval view
     2101        # In the base package they can 'use' a fake approval view.
     2102        # XXX: I tried to use
     2103        # self.student['payments'][value].approveStudentPayment() instead.
     2104        # But this function fails in
     2105        # w.k.accesscodes.accesscode.create_accesscode.
     2106        # grok.getSite returns None in tests.
    21022107        self.browser.open(payment_url + '/fake_approve')
    21032108        self.assertMatches('...Payment approved...',
Note: See TracChangeset for help on using the changeset viewer.