monkey-patch for mathpazo bug
[PyX/mjg.git] / test / unit / test.py
blob82c3411c467db4e1f591cf6f043056d867f38751
1 #!/usr/bin/env python
2 import sys
3 if sys.path[0] != "../..":
4 sys.path.insert(0, "../..")
6 import unittest
8 import glob
10 def regressionTest():
11 names = [name[:-3] for name in glob.glob("test_*.py")]
12 modules = map(__import__, names)
13 load = unittest.defaultTestLoader.loadTestsFromModule
14 return unittest.TestSuite(map(load, modules))
16 if __name__ == "__main__":
17 unittest.main(defaultTest="regressionTest")