added alltest convenience script

--HG--
rename : test/tagtest.py => test/tag.py
extra : convert_revision : svn%3A41726ec3-264d-0410-9c23-a9f1637257cc/trunk%4013
This commit is contained in:
adrian.sampson 2008-06-11 07:10:56 +00:00
parent fdb6ff7bb2
commit f6feb5fbb0
2 changed files with 13 additions and 0 deletions

13
test/alltests.py Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env python
import unittest
test_modules = ['tag', 'library']
def suite():
s = unittest.TestSuite()
for mod in map(__import__, test_modules):
s.addTest(mod.suite())
return s
if __name__ == '__main__':
unittest.main(defaultTest='suite')