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

vim: kill bufexplorer
author Steve Losh <steve@stevelosh.com>
date Tue, 16 Nov 2010 16:54:38 -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())