Changeset 12216 for main/waeup.ikoba/trunk
- Timestamp:
- 13 Dec 2014, 17:28:29 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba/customers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser.py
r12215 r12216 1156 1156 pnav = 4 1157 1157 1158 form_fields = grok.AutoFields(IContract) 1159 1158 1160 @property 1159 1161 def selectable_contypes(self): -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/contractaddform.pt
r12112 r12216 17 17 </td> 18 18 </tr> 19 <tal:widgets content="structure provider:widgets" /> 19 20 </tbody> 20 21 </table> -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_browser.py
r12215 r12216 1141 1141 self.browser.getControl("Add contract").click() 1142 1142 self.browser.getControl(name="contype").value = ['SampleContract'] 1143 self.browser.getControl(name="form.title").value = 'My Sample Contract' 1143 1144 self.browser.getControl("Add contract").click() 1144 1145 self.assertTrue('Sample Contract added.' in self.browser.contents) … … 1204 1205 self.browser.getControl("Add contract").click() 1205 1206 self.browser.getControl(name="contype").value = ['SampleContract'] 1207 self.browser.getControl(name="form.title").value = 'My Sample Contract' 1206 1208 self.browser.getControl("Add contract").click() 1207 1209 self.assertTrue('Sample Contract added.' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.