Give test a better name

parent 10726089
...@@ -156,8 +156,11 @@ class HTMLTests(unittest.TestCase): ...@@ -156,8 +156,11 @@ class HTMLTests(unittest.TestCase):
self.assert_expected(self.folder.t, 'CheckI18nTranslateHooked.html') self.assert_expected(self.folder.t, 'CheckI18nTranslateHooked.html')
setGlobalTranslationService(old_ts) setGlobalTranslationService(old_ts)
def checkAttributes(self): def checkBooleanAttributesAndDefault(self):
self.assert_expected(self.folder.t, 'Attributes.html') # Zope 2.9 and below support the semantics that an HTML
# "boolean" attribute (e.g. 'selected', 'disabled', etc.) can
# be used together with 'default'.
self.assert_expected(self.folder.t, 'BooleanAttributesAndDefault.html')
def test_suite(): def test_suite():
return unittest.makeSuite(HTMLTests, 'check') return unittest.makeSuite(HTMLTests, 'check')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment