""" |
"""PEAK utility modules test suite package |
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 |
Use with unittest.py to run all tests, or use the 'test_suite()' function in |
those tests. |
an individual module to get just those tests.""" |
""" |
|
|
|
allSuites = [ |
allSuites = [ |
'SOX:test_suite', |
|
'EigenData:test_suite', |
'EigenData:test_suite', |
|
'FileParsing:test_suite', |
|
'SOX:test_suite', |
'uuid:test_suite', |
'uuid:test_suite', |
|
'test_expr:test_suite', |
|
'test_mockdb:test_suite', |
|
'test_mockets:test_suite', |
|
'test_signature:test_suite', |
|
'test_conflict:test_suite', |
|
'peak.util.tests:test_unittrace', |
] |
] |
|
|
def test_suite(): |
def test_unittrace(): |
|
from peak.util import doctest |
|
return doctest.DocFileSuite( |
|
'unittrace.txt', optionflags=doctest.ELLIPSIS, package='peak.util', |
|
) |
|
|
from unittest import TestSuite |
|
from peak.binding.imports import importSequence |
|
|
|
return TestSuite( |
def test_suite(): |
[t() for t in importSequence(allSuites, globals())] |
from peak.util.imports import importSuite |
) |
return importSuite(allSuites, globals()) |
|
|