--- a/web/test/unittest_formwidgets.py Fri Oct 16 10:36:34 2015 +0200
+++ b/web/test/unittest_formwidgets.py Fri Oct 16 11:15:50 2015 +0200
@@ -62,9 +62,9 @@
field = form.field_by_name('bool')
widget = field.widget
self.assertMultiLineEqual(widget._render(form, field, None),
- '<input id="bool" name="bool" tabindex="1" '
+ '<label><input id="bool" name="bool" tabindex="1" '
'type="checkbox" value="1" /> '
- 'python >> others')
+ 'python >> others</label>')
if __name__ == '__main__':