Mercurial > bitten > bitten-test
changeset 358:c36dcff28f75
Only run xmltools tests if libxslt or MSXML are available.
author | cmlenz |
---|---|
date | Tue, 25 Jul 2006 10:04:13 +0000 |
parents | 6f17c9d89840 |
children | 5bc81e597352 |
files | bitten/build/tests/xmltools.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bitten/build/tests/xmltools.py +++ b/bitten/build/tests/xmltools.py @@ -118,7 +118,8 @@ def suite(): suite = unittest.TestSuite() - suite.addTest(unittest.makeSuite(TransformTestCase, 'test')) + if xmltools.have_libxslt or xmltools.have_msxml: + suite.addTest(unittest.makeSuite(TransformTestCase, 'test')) return suite if __name__ == '__main__':