Ignore:
Timestamp:
7 Nov 2012, 10:07:03 (12 years ago)
Author:
Henrik Bettermann
Message:

Add next_kin_phone.

Location:
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_browser.py

    r9564 r9567  
    250250        self.browser.getControl(name="form.next_kin_relation").value = 'mother'
    251251        self.browser.getControl(name="form.next_kin_address").value = 'sweet home'
     252        self.browser.getControl(name="form.next_kin_phone.country").value = ['+234']
     253        self.browser.getControl(name="form.next_kin_phone.ext").value = '45678'
    252254        self.browser.getControl("Save").click()
    253255        self.assertMatches('...Form has been saved...',
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_export.py

    r9562 r9567  
    5555            'hq_school,hq_session,hq_type,is_staff,lastname,lga,'
    5656            'marit_stat,matric_number,middlename,nationality,'
    57             'next_kin_address,next_kin_name,next_kin_relation,'
     57            'next_kin_address,next_kin_name,next_kin_phone,next_kin_relation,'
    5858            'nysc_lga,nysc_location,nysc_year,officer_comment,'
    5959            'perm_address,personal_updated,phone,reg_number,'
     
    6464            '"[(\'visual_art\', \'A1\')]",0,my clr code,1981-02-04#,,,'
    6565            'anna@sample.com,,,,,,,,,,,Anna,,,,,"[(\'visual_art\', \'A1\')]"'
    66             ',,,,,,,,,,,,,,,,Tester,,,234,M.,NG,,,,,,,,'
     66            ',,,,,,,,,,,,,,,,Tester,,,234,M.,NG,,,,,,,,,'
    6767            '"Studentroad 21\nLagos 123456\n",,+234-123-12345#,123,,,,,'
    6868            '"[(\'visual_art\', \'A1\')]",,f,A111111,0,,created,'
Note: See TracChangeset for help on using the changeset viewer.