# HG changeset patch # User Windel Bouwman # Date 1395408774 -3600 # Node ID fc1b89b0989645a152f75a33f79462e6231a10ef # Parent 68841f9ab96c54871476345ba9c23cc3c15ef2d3 Added run test.py diff -r 68841f9ab96c -r fc1b89b09896 test/run_tests.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/run_tests.py Fri Mar 21 14:32:54 2014 +0100 @@ -0,0 +1,17 @@ +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) +