- Timestamp:
- 1 Feb 2015, 06:34:11 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba/customers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser.py
r12532 r12533 735 735 736 736 def dataNotComplete(self): 737 """To be implemented in the customization package.738 """739 737 store = getUtility(IExtFileStore) 740 738 error = '' … … 751 749 if self.dataNotComplete(): 752 750 self.flash(self.dataNotComplete(), type="warning") 751 self.redirect(self.url(self.context, 'upload_files')) 753 752 return 754 753 IWorkflowInfo(self.context).fireTransition('request') -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_browser.py
r12532 r12533 621 621 self.browser.getLink("Edit").click() 622 622 self.browser.getControl(name="form.email").value = 'new_email@aa.ng' 623 self.browser.getControl("Save", index= 1).click()623 self.browser.getControl("Save", index=0).click() 624 624 self.assertMatches('...Form has been saved...', 625 625 self.browser.contents) … … 628 628 self.browser.contents) 629 629 self.assertEqual(self.customer.state, 'started') 630 # Customer must upload a passport picture 631 self.browser.open(self.customer_path) 632 self.browser.getLink("Upload files").click() 630 # Customer must upload a passport picture. We are already on 631 # the upload page. 633 632 ctrl = self.browser.getControl(name='passporteditupload') 634 633 file_obj = open(SAMPLE_IMAGE, 'rb')
Note: See TracChangeset for help on using the changeset viewer.