3 if sys
.path
[0] != "../..":
4 sys
.path
.insert(0, "../..")
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")