Commit ed31a068 authored by Julien Muchembled's avatar Julien Muchembled

Revert part of [31788] because it prevents projects to reuse testXHTML for their own BT

See also [27652]

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31789 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 74951a6d
......@@ -562,14 +562,13 @@ elif validator_to_use == 'tidy':
else:
validator = TidyValidator(validator_path, show_warnings)
if validator is not None:
# add erp5_core to the list here to not return it
# on getBusinessTemplateList call
addTestMethodDynamically(validator,
('erp5_core',) + TestXHTML.getBusinessTemplateList())
def test_suite():
# add the tests
if validator is not None:
# add erp5_core to the list here to not return it
# on getBusinessTemplateList call
addTestMethodDynamically(validator,
('erp5_core',) + TestXHTML.getBusinessTemplateList())
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestXHTML))
return suite
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