test/data/testcase_pkg/tests/unittest_errors.py
author David Douard <david.douard@logilab.fr>
Wed, 27 Sep 2017 12:39:06 +0200
changeset 1871 980e20892562
parent 584 c2d1a10c29bd
permissions -rwxr-xr-x
[checker/pypi] allow to configure the pypi repo to use and defaults to 'pypi'.

import unittest

class DummyTest(unittest.TestCase):
    def runTest(self):
        str.erzglfdjslgjldfjgl

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()