diff options
author | Lars Wirzenius <liw@esme> | 2005-12-03 20:41:56 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@esme> | 2005-12-03 20:41:56 +0200 |
commit | 0f7cd8b5551e2ec4333cb10561375872dd7e03d3 (patch) | |
tree | 217926700638acfa7fe1b523dae7f490308606e9 /testrun.py | |
download | eoc-0f7cd8b5551e2ec4333cb10561375872dd7e03d3.tar.gz |
Initial import.
Diffstat (limited to 'testrun.py')
-rw-r--r-- | testrun.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testrun.py b/testrun.py new file mode 100644 index 0000000..53c1dbd --- /dev/null +++ b/testrun.py @@ -0,0 +1,9 @@ +import unittest +import os + +suite = unittest.TestSuite() +for n in filter(lambda fn: fn[-8:] == "Tests.py", os.listdir(".")): + suite.addTest(unittest.defaultTestLoader.loadTestsFromName(n[:-3])) + +runner = unittest.TextTestRunner() +runner.run(suite) |