view test/run_tests.py @ 402:0fb6633c42f6

Moved several files to logical locations
author Windel Bouwman
date Thu, 19 Feb 2015 00:13:07 +0100
parents fc1b89b09896
children
line wrap: on
line source

import sys
import unittest

if sys.version_info.major < 3:
    print('Requires python 3 at least')
    sys.exit()

sys.path.insert(0, '../python')

loader = unittest.TestLoader()
suite = unittest.TestSuite()

for test in loader.discover('.'):
    suite.addTest(test)

unittest.TextTestRunner().run(suite)