vim/sadness/ropevim/src/rope/ropetest/contrib/__init__.py @ cffc630cdd07

Merge.
author Steve Losh <steve@stevelosh.com>
date Thu, 13 Jan 2011 00:02:54 -0500
parents 48cacfdc2ca6
children (none)
import sys
import unittest

import ropetest.contrib.autoimporttest
import ropetest.contrib.changestacktest
import ropetest.contrib.codeassisttest
import ropetest.contrib.finderrorstest
import ropetest.contrib.findittest
import ropetest.contrib.fixmodnamestest
import ropetest.contrib.generatetest


def suite():
    result = unittest.TestSuite()
    result.addTests(unittest.makeSuite(ropetest.contrib.generatetest.
                                       GenerateTest))
    result.addTests(ropetest.contrib.codeassisttest.suite())
    result.addTests(ropetest.contrib.autoimporttest.suite())
    result.addTests(ropetest.contrib.findittest.suite())
    result.addTests(unittest.makeSuite(ropetest.contrib.changestacktest.
                                       ChangeStackTest))
    result.addTests(unittest.makeSuite(ropetest.contrib.fixmodnamestest.
                                       FixModuleNamesTest))
    result.addTests(unittest.makeSuite(ropetest.contrib.finderrorstest.
                                       FindErrorsTest))
    return result


if __name__ == '__main__':
    runner = unittest.TextTestRunner()
    result = runner.run(suite())
    sys.exit(not result.wasSuccessful())