Changeset 7802 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 8 Mar 2012, 14:26:35 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/hostels/tests.py
r7718 r7802 246 246 assert self.app['hostels']['hall-1'][ 247 247 'hall-1_A_101_D'].bed_type == 'regular_female_reserved' 248 self.assertTrue('<li>A_101_A</li>' in self.browser.contents) 248 self.assertTrue('<div>A_101_A</div>' in self.browser.contents) 249 249 250 # Change hostel configuration 250 251 hall.beds_for_all = ['D'] -
main/waeup.sirp/trunk/src/waeup/sirp/widgets/objectwidget.pt
r7801 r7802 1 <div> 2 <span tal:repeat="widget context/subwidgets"> 3 <span tal:define="error widget/error" 4 tal:replace="structure error" tal:condition="error" /> 5 <span tal:replace="structure widget" /> 6 </span> 7 </div> 1 <span tal:repeat="widget context/subwidgets"> 2 <span tal:define="error widget/error" 3 tal:replace="structure error" tal:condition="error" /> 4 <span tal:replace="structure widget" /> 5 </span> -
main/waeup.sirp/trunk/src/waeup/sirp/widgets/sequencewidget.py
r7797 r7802 45 45 46 46 tag = None 47 itemTag = None47 itemTag = 'div' 48 48 49 49 # Register our sequence widgets as default for lists. -
main/waeup.sirp/trunk/src/waeup/sirp/widgets/tests/test_objectwidget.py
r7795 r7802 217 217 218 218 check_list = [ 219 '<div', 'class=', 'row',220 219 '<span', 221 220 'Foo Name', 222 221 '</span>', '<span', 223 'foo@foo.test', 224 '</div>'] 222 'foo@foo.test'] 225 223 self.verifyResult(widget(), check_list, inorder=True) 226 224
Note: See TracChangeset for help on using the changeset viewer.