Changeset 15266 for main/waeup.aaue/trunk/src/waeup
- Timestamp:
- 12 Dec 2018, 09:17:35 (6 years ago)
- 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
r15119 r15266 573 573 date_of_birth = FormattedDate( 574 574 title = _(u'Date of Birth'), 575 required = False,575 required = True, 576 576 #date_format = u'%d/%m/%Y', # Use grok-instance-wide default 577 577 show_year = True, … … 581 581 title = _(u'Place of Birth'), 582 582 readonly = False, 583 required = False,583 required = True, 584 584 ) 585 585 … … 587 587 vocabulary = nats_vocab, 588 588 title = _(u'Nationality'), 589 required = False,589 required = True, 590 590 ) 591 591 … … 599 599 title = _(u'Phone'), 600 600 description = u'', 601 required = False,601 required = True, 602 602 ) 603 603 604 604 perm_address = schema.Text( 605 605 title = _(u'Current Local Address'), 606 required = False,606 required = True, 607 607 readonly = False, 608 608 ) … … 611 611 title = _(u'Dispatch Addresses'), 612 612 description = u'Addresses to which transcript should be posted.', 613 required = False,613 required = True, 614 614 readonly = False, 615 615 ) … … 618 618 title = _(u'Entry Mode'), 619 619 source = StudyModeSource(), 620 required = False,620 required = True, 621 621 readonly = False, 622 622 ) … … 625 625 title = _(u'Entry Session'), 626 626 source = academic_sessions_vocab, 627 required = False,627 required = True, 628 628 readonly = False, 629 629 ) … … 632 632 title = _(u'End Session'), 633 633 source = academic_sessions_vocab, 634 required = False,634 required = True, 635 635 readonly = False, 636 636 ) … … 639 639 title = _(u'Course of Study / Degree'), 640 640 source = CertificateSource(), 641 required = False,641 required = True, 642 642 readonly = False, 643 643 ) … … 726 726 date_of_birth = FormattedDate( 727 727 title = _(u'Date of Birth'), 728 required = False,728 required = True, 729 729 #date_format = u'%d/%m/%Y', # Use grok-instance-wide default 730 730 show_year = True, … … 734 734 title = _(u'Place of Birth'), 735 735 readonly = False, 736 required = False,736 required = True, 737 737 ) 738 738 … … 740 740 vocabulary = nats_vocab, 741 741 title = _(u'Nationality'), 742 required = False,742 required = True, 743 743 ) 744 744 … … 752 752 title = _(u'Phone'), 753 753 description = u'', 754 required = False,754 required = True, 755 755 ) 756 756 … … 758 758 title = _(u'Entry Session'), 759 759 source = academic_sessions_vocab, 760 required = False,760 required = True, 761 761 readonly = False, 762 762 ) … … 765 765 title = _(u'End Session'), 766 766 source = academic_sessions_vocab, 767 required = False,767 required = True, 768 768 readonly = False, 769 769 ) … … 779 779 title = _(u'Certificate Type'), 780 780 vocabulary = certificate_types_vocab, 781 required = False,781 required = True, 782 782 ) 783 783 -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/tests/test_browser.py
r15113 r15266 275 275 self.browser.getControl(name="form.course_studied").value = ['CERT1'] 276 276 self.browser.getControl(name="form.matric_number").value = '234' 277 self.browser.getControl(name="form.place_of_birth").value = 'Bochum' 278 self.browser.getControl(name="form.dispatch_address").value = 'Kuensche' 279 self.browser.getControl(name="form.perm_address").value = 'Kuensche' 280 self.browser.getControl(name="form.entry_mode").value = ['ug_ft'] 281 self.browser.getControl(name="form.entry_session").value = ['2014'] 282 self.browser.getControl(name="form.end_session").value = ['2015'] 283 self.browser.getControl(name="form.phone.country").value = ['+234'] 284 self.browser.getControl(name="form.phone.ext").value = '5678' 277 285 self.browser.getControl("Save").click() 278 286 self.browser.getControl("Add online payment ticket").click()
Note: See TracChangeset for help on using the changeset viewer.