10
10
dir = os.path.split(os.path.abspath(__file__))[0]
11
11
which = [os.path.basename(p) for p in glob.glob('%s/test_*.py' % dir)]
13
13
names = map(lambda x: x[:-3], which)
19
19
suite = unittest.TestSuite()
20
20
loader = unittest.TestLoader()
22
22
for name in gettestnames(sys.argv[1:]):
23
23
suite.addTest(loader.loadTestsFromName(name))
27
27
if os.environ.has_key('VERBOSE'):
31
33
testRunner = unittest.TextTestRunner(descriptions=descriptions,