mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-27 22:08:38 +08:00
b8fe0cfdbf
Build in a matrix?
12 lines
399 B
Python
12 lines
399 B
Python
if __name__ == '__main__':
|
|
import os
|
|
import glob
|
|
import unittest
|
|
test_file_strings = glob.glob('test_*.py')
|
|
module_strings = [str[0:len(str)-3] for str in test_file_strings]
|
|
suites = [unittest.defaultTestLoader.loadTestsFromName(str) for str
|
|
in module_strings]
|
|
testSuite = unittest.TestSuite(suites)
|
|
|
|
unittest.TextTestRunner(verbosity=2).run(testSuite)
|