Ignore:
Timestamp:
27 Apr 2023, 11:37:37 (20 months ago)
Author:
Henrik Bettermann
Message:

Allow students to update their ship data from the personal page.

Add boolean field to indicate interest in NYSC.

Location:
main/waeup.uniben/trunk/src/waeup/uniben/students/tests
Files:
2 edited

Legend:

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

    r17298 r17395  
    12261226        self.browser.getControl(name="form.genotype").value = 'XYZ'
    12271227        self.browser.getControl("Save").click()
     1228        self.browser.getLink("Base Data").click()
    12281229        self.browser.getLink("Download TISHIP registration slip").click()
    12291230        self.assertEqual(self.browser.headers['Status'], '200 Ok')
  • main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_export.py

    r17257 r17395  
    141141        result = open(self.outfile, 'rb').read()
    142142        self.assertMatches(
    143             'asthma,bloodgroup,body_pains,breathing,catarrh,company_confirmed,'
    144             'company_suspected,cough,diabetes,fever,genotype,headaches,hypertension,'
     143            'asthma,body_pains,breathing,catarrh,company_confirmed,'
     144            'company_suspected,cough,diabetes,fever,headaches,hypertension,'
    145145            'lagos_abuja,medical_updated,medicines,negative,obesity,'
    146146            'others,outside,positive,smell,sneezing,sore_throat,taste,'
    147147            'vaccination,weakness,student_id,display_fullname,'
    148148            'matric_number,faccode,depcode,state,current_session,'
    149             'current_level\r\n'
    150             ',,,,,,,,,,,,,,,,,,,,,,,1,,,,A111111,Anna M. Tester,234,'
    151             'NA,NA,created,2012,200\r\n' , result
     149            'current_level,genotype,bloodgroup\r\n'
     150            ',,,,,,,,,,,,,,,,,,,,,1,,,,A111111,Anna M. Tester,234,'
     151            'NA,NA,created,2012,200,,\r\n' , result
    152152            )
    153153        return
Note: See TracChangeset for help on using the changeset viewer.