mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
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:
parent
fdb6ff7bb2
commit
f6feb5fbb0
2 changed files with 13 additions and 0 deletions
13
test/alltests.py
Executable file
13
test/alltests.py
Executable 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')
|
||||
Loading…
Reference in a new issue