cmlenz@446: # -*- coding: utf-8 -*- cmlenz@446: # cmlenz@719: # Copyright (C) 2007-2008 Edgewall Software cmlenz@446: # All rights reserved. cmlenz@446: # cmlenz@446: # This software is licensed as described in the file COPYING, which cmlenz@446: # you should have received as part of this distribution. The terms cmlenz@446: # are also available at http://genshi.edgewall.org/wiki/License. cmlenz@446: # cmlenz@446: # This software consists of voluntary contributions made by many cmlenz@446: # individuals. For the exact contribution history, see the revision cmlenz@446: # history and logs, available at http://genshi.edgewall.org/log/. cmlenz@446: athomas@709: import doctest cmlenz@446: import unittest cmlenz@446: cmlenz@446: def suite(): hodgestar@933: from genshi.filters.tests import test_html, i18n, transform cmlenz@446: suite = unittest.TestSuite() hodgestar@933: suite.addTest(test_html.suite()) cmlenz@446: suite.addTest(i18n.suite()) athomas@709: if hasattr(doctest, 'NORMALIZE_WHITESPACE'): athomas@709: suite.addTest(transform.suite()) cmlenz@446: return suite cmlenz@446: cmlenz@446: if __name__ == '__main__': cmlenz@446: unittest.main(defaultTest='suite')