lkd-planet/DJAGEN/branches/mustafa_branch/djagen/gezegen/runtests.py
2010-07-06 16:25:42 +00:00

12 lines
311 B
Python
Executable File

#!/usr/bin/env python
import glob, trace, unittest
# find all of the planet test modules
modules = map(trace.fullmodname, glob.glob('planet/tests/test_*.py'))
# load all of the tests into a suite
suite = unittest.TestLoader().loadTestsFromNames(modules)
# run test suite
unittest.TextTestRunner().run(suite)