Ignore:
Timestamp:
24 Oct 2011, 05:33:59 (13 years ago)
Author:
Henrik Bettermann
Message:

Create empty school fee, clearance and hostel application AC batches during initialization of university instance. These batches start with 0.

File:
1 edited

Legend:

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

    r6930 r6932  
    115115        pin_container.createBatch(
    116116            datetime.now(), 'some_userid', 'PWD', 9.99, 5)
    117         pins = pin_container[pin_container.keys()[0]].values()
     117        pins = pin_container['PWD-1'].values()
    118118        self.pwdpins = [x.representation for x in pins]
    119119        self.existing_pwdpin = self.pwdpins[0]
     
    123123        pin_container.createBatch(
    124124            datetime.now(), 'some_userid', 'CLR', 9.99, 5)
    125         pins = pin_container[pin_container.keys()[0]].values()
     125        pins = pin_container['CLR-1'].values()
    126126        pins[0].owner = u'Hans Wurst'
    127127        self.existing_clrac = pins[0]
Note: See TracChangeset for help on using the changeset viewer.