""" |
""" |
TransWarp utility modules test suite package. Use with unittest.py to run all |
PEAK utility modules test suite package. Use with unittest.py to run all |
tests, or use the 'test_suite()' function in an individual module to get just |
tests, or use the 'test_suite()' function in an individual module to get just |
those tests. |
those tests. |
""" |
""" |
|
|
allSuites = [ |
allSuites = [ |
'TW.Utils.tests.SOX:test_suite', |
'SOX:test_suite', |
] |
] |
|
|
def test_suite(): |
def test_suite(): |
|
|
from unittest import TestSuite |
from unittest import TestSuite |
from TW.Utils.Import import importString |
from peak.binding.imports import importSequence |
|
|
return TestSuite( |
return TestSuite( |
[importString(t)() for t in allSuites] |
[t() for t in importSequence(allSuites, globals())] |
) |
) |
|
|