Ignore:
Timestamp:
26 Mar 2012, 10:53:00 (13 years ago)
Author:
Henrik Bettermann
Message:

Remove unneeded default values in interfaces. Adjust tests.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/sample_applicant_data.csv

    r7270 r7984  
    1 container_code,reg_number,firstname,lastname,date_of_birth,email,course1
    2 dp2011,1001,Aaren,Pieri,1990-01-02,xx@yy.zz,CERT1
    3 dp2011,1002,Aaren,Finau,1990-01-03,xx@yy.zz,CERT1
    4 dp2011,1003,Aaren,Berson,1990-01-04,xx@yy.zz,CERT1
     1container_code,reg_number,firstname,lastname,date_of_birth,email,course1,sex
     2dp2011,1001,Aaren,Pieri,1990-01-02,xx@yy.zz,CERT1,m
     3dp2011,1002,Aaren,Finau,1990-01-03,xx@yy.zz,CERT1,m
     4dp2011,1003,Aaren,Berson,1990-01-04,xx@yy.zz,CERT1,m
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/sample_faulty_applicant_data.csv

    r7507 r7984  
    1 container_code,reg_number,firstname,lastname,date_of_birth,email,course1
    2 dp2011,1001,Aaren,Pieri,01/02/1990,xx@yy.zz,CERT1
     1container_code,reg_number,firstname,lastname,date_of_birth,email,course1,sex
     2dp2011,1001,Aaren,Pieri,01/02/1990,xx@yy.zz,CERT1,m
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py

    r7927 r7984  
    8282        applicantscontainer.prefix = 'app'
    8383        applicantscontainer.year = 2009
     84        applicantscontainer.entry_level = 100
    8485        applicantscontainer.application_category = 'basic'
    8586        delta = timedelta(days=10)
     
    246247        self.browser.getControl(name="form.prefix").value = ['app']
    247248        self.browser.getControl(name="form.year").value = ['2010']
     249        self.browser.getControl(name="form.entry_level").value = ['100']
    248250        self.browser.getControl(name="form.provider").value = [
    249251            'waeup.kofa.applicants.ApplicantsContainer']
     
    261263        self.browser.getControl(name="form.prefix").value = ['app']
    262264        self.browser.getControl(name="form.year").value = ['2010']
     265        self.browser.getControl(name="form.entry_level").value = ['100']
    263266        self.browser.getControl(name="form.provider").value = [
    264267            'waeup.kofa.applicants.ApplicantsContainer']
     
    276279        self.browser.getControl(name="form.prefix").value = ['app']
    277280        self.browser.getControl(name="form.year").value = ['2010']
     281        self.browser.getControl(name="form.entry_level").value = ['100']
    278282        self.browser.getControl(name="form.provider").value = [
    279283            'waeup.kofa.applicants.ApplicantsContainer']
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py

    r7925 r7984  
    5252        container.prefix = list(ApplicationTypeSource()(container))[0]
    5353        container.year = 2012
     54        container.entry_level = 100
    5455        provider = [
    5556            x for x in getUtilitiesFor(IApplicantsContainerProvider)
Note: See TracChangeset for help on using the changeset viewer.