Changeset 13992 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Timestamp:
- 26 Jun 2016, 05:35:30 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r13991 r13992 1570 1570 container_name_1, self.applicant.application_number) 1571 1571 self.app['mandates'].addMandate(mandate) 1572 self.assertEqual(len(self.app['mandates'].keys()), 1) 1572 1573 # Let's open the add form page via the mandate view 1573 1574 self.browser.open('http://localhost/app/mandate?mandate_id=%s' 1574 1575 % mandate.mandate_id) 1576 self.assertTrue('Joan None' in self.browser.contents) 1577 # Report can't be saved without required fields 1578 self.browser.getControl(name="form.email").value = '' 1579 self.browser.getControl("Submit").click() 1580 self.assertTrue('Required input is missing' in self.browser.contents) 1581 self.browser.getControl(name="form.email").value = 'bb@bb.bb' 1575 1582 self.browser.getControl("Submit").click() 1576 1583 self.assertTrue('Referee report has been saved' in self.browser.contents) … … 1595 1602 in logcontent 1596 1603 ) 1604 # Mandate is deleted 1605 self.assertEqual(len(self.app['mandates'].keys()), 0)
Note: See TracChangeset for help on using the changeset viewer.