Test dynamic methods
Without the second commit, testSecurity
will fail like :
File "/SR/parts/erp5/Products/ERP5/tests/testSecurity.py", line 113, in test_method_protection
self.fail(message)
AssertionError:
The following 7 methods have a docstring but have no security assertions.
/SR/parts/erp5/product/ERP5Form/PreferenceTool.py:64 isPreferredVcsPushMode
/SR/parts/erp5/product/ERP5Type/Accessor/AcquiredProperty.py:217 hasTelephoneValidationState
/SR/parts/erp5/product/ERP5Type/Accessor/Base.py:219 hasViewFormIdList
/SR/parts/erp5/product/ERP5Type/Accessor/Constant.py:94 isWebDocumentType
/SR/parts/erp5/product/ERP5Type/Accessor/Content.py:224 hasImage
/SR/parts/erp5/product/ERP5Type/Accessor/ContentProperty.py:283 hasImageWidthList
/SR/parts/erp5/product/ERP5Type/Accessor/Translation.py:233 hasFrTranslatedTitle
/cc @jerome