Ignore:
Timestamp:
22 May 2015, 07:17:29 (10 years ago)
Author:
Henrik Bettermann
Message:

Remove quite old bug in doImport: Replace empty strings *and* lists with
ignore-markers in update *and* create mode.

File:
1 edited

Legend:

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

    r12894 r12981  
    514514            "beds_for_pre=['G'], floors_per_block=1, "
    515515            "beds_for_final=['A', 'B'], rooms_per_floor=32, "
    516             "blocks_for_male=[], hostel_id=block-a-upper-hostel, "
     516            "hostel_id=block-a-upper-hostel, "
    517517            "sort_id=20, beds_for_returning=['C', 'D'], "
    518518            "hostel_name=Block A Upper Hostel, beds_for_fresh=['E', 'F'], "
    519             "blocks_for_female=['A'], beds_for_all=[], beds_reserved=[]"
     519            "blocks_for_female=['A']"
    520520            in logcontent)
    521521        shutil.rmtree(os.path.dirname(fin_file))
     
    542542            "beds_for_pre=['G'], floors_per_block=1, "
    543543            "beds_for_final=['A', 'B'], rooms_per_floor=32, "
    544             "blocks_for_male=[], hostel_id=block-a-upper-hostel, "
     544            "hostel_id=block-a-upper-hostel, "
    545545            "sort_id=20, beds_for_returning=['C', 'D'], "
    546546            "hostel_name=Block A Upper Hostel, beds_for_fresh=['E', 'F'], "
    547             "blocks_for_female=['A'], beds_for_all=[], beds_reserved=[]"
     547            "blocks_for_female=['A']"
    548548            in logcontent)
    549549        shutil.rmtree(os.path.dirname(fin_file))
Note: See TracChangeset for help on using the changeset viewer.