changeset 2493:d05386e32cf0

Fixes the test which allows customising the class for a form element, via flatland
author sharky93 <rishabhr123@gmail.com>
date Sun, 15 Sep 2013 23:42:44 +0530
parents f1d470ade3c0
children 6a52b3d4ddc8
files MoinMoin/util/_tests/test_forms.py
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/util/_tests/test_forms.py	Sun Sep 15 23:34:05 2013 +0530
+++ b/MoinMoin/util/_tests/test_forms.py	Sun Sep 15 23:42:44 2013 +0530
@@ -59,9 +59,10 @@
     content_result = forms.required_filter('test_tagname', test_attributes, 'new_content', 'test_context', test_bind)
     expected = 'new_content'
     assert content_result == expected
-    attribute_result = test_attributes[u'class']
-    expected = u'required'
-    assert attribute_result == expected
+    # fixing a class for the form element, restricts the HTML we can generate
+    # attribute_result = test_attributes[u'class']
+    # expected = u'required'
+    # assert attribute_result == expected
 
     # tagname == 'input'
     content_result = forms.required_filter('input', test_attributes, 'new_content', 'test_context', test_bind)