Ignore:
Timestamp:
1 Dec 2019, 08:45:25 (5 years ago)
Author:
Henrik Bettermann
Message:

Add phone field. Fix test.

Location:
main/waeup.aaue/trunk/src/waeup/aaue/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/interfaces.py

    r15791 r15861  
    876876        )
    877877
     878    phone = PhoneNumber(
     879        title = _(u'Phone'),
     880        description = u'',
     881        required = False,
     882        )
     883
    878884    matric_number = schema.TextLine(
    879885        title = _(u'Verification Body Reference Number'),
     
    940946        required = True,
    941947        constraint=validate_email,
     948        )
     949
     950    phone = PhoneNumber(
     951        title = _(u'Phone'),
     952        description = u'',
     953        required = False,
    942954        )
    943955
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/tests/test_browser.py

    r15803 r15861  
    372372        # ... and on the dislay view
    373373        self.browser.open(self.transapplicant_view_path)
    374         self.assertTrue('<a href="stateresult.pdf">Statement of Result</a>'
     374        self.assertTrue('stateresult.pdf">Statement of Result</a>'
    375375            in self.browser.contents)
    376376        # Adding file is properly logged
     
    444444        # ... and on the dislay view
    445445        self.browser.open(self.verapplicant_view_path)
    446         self.assertTrue('<a href="verificationdoc.pdf">Result/Certificate Document</a>'
     446        self.assertTrue('verificationdoc.pdf">Result/Certificate Document</a>'
    447447            in self.browser.contents)
    448448        # Adding file is properly logged
Note: See TracChangeset for help on using the changeset viewer.