add UnicodeEngine (MultiEngineText and axis texters returning MultiEngineText), texte...
[PyX.git] / test / unit / test.py
blob8b4e0644982032ae2ddfe24945d65471fad459c4
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 = list(map(__import__, names))
13 load = unittest.defaultTestLoader.loadTestsFromModule
14 return unittest.TestSuite(list(map(load, modules)))
16 if __name__ == "__main__":
17 unittest.main(defaultTest="regressionTest")