test/data/testcase_pkg/tests/unittest_success.py
author David Douard <david.douard@logilab.fr>
Thu, 13 Nov 2014 14:32:39 +0100
changeset 1742 3cdc3ef300a4
parent 584 c2d1a10c29bd
permissions -rwxr-xr-x
[atest] improve environment variable reporting

import unittest

class DummyTest(unittest.TestCase):
    def runTest(self):
        pass

def Run(runner=None):
    testsuite = unittest.TestSuite()
    testsuite.addTest(DummyTest())

    if runner is None:
        runner = unittest.TextTestRunner()
    return runner.run(testsuite)

if __name__ == '__main__':
    Run()