return result
-def runTestModule(test_modules_list=None, test_prefix=None):
+def run_test_module(test_modules_list=None, test_prefix=None):
suite = unittest.TestSuite()
finder = doctest.DocTestFinder(exclude_empty=False) # finder for doctest
if test_prefix:
if __name__ == "__main__":
# Run doctest from __main__ and unittest from test_analyzer_preprocessors
from tests import test_analyzer_preprocessors
- from tests.unit_timeside import runTestModule
- runTestModule('__main__', test_analyzer_preprocessors)
+ from tests.unit_timeside import run_test_module
+ run_test_module(test_analyzer_preprocessors)
if __name__ == "__main__":
# Run doctest from __main__ and unittest from tests
- from tests.unit_timeside import runTestModule
+ from tests.unit_timeside import run_test_module
# load corresponding tests
from tests import test_decoding, test_array_decoding
- runTestModule([test_decoding, test_array_decoding])
+ run_test_module([test_decoding, test_array_decoding])
if __name__ == "__main__":
# Run doctest from __main__ and unittest from tests
- from tests.unit_timeside import runTestModule
+ from tests.unit_timeside import run_test_module
# load corresponding tests
from tests import test_decoder_utils
- runTestModule(test_decoder_utils)
+ run_test_module(test_decoder_utils)
if __name__ == "__main__":
# Run doctest from __main__ and unittest from test_analyzer_preprocessors
from tests import test_encoding, test_transcoding
- from tests.unit_timeside import runTestModule
- runTestModule([test_encoding, test_transcoding])
\ No newline at end of file
+ from tests.unit_timeside import run_test_module
+ run_test_module([test_encoding, test_transcoding])
\ No newline at end of file
if __name__ == "__main__":
# Run doctest from __main__ and unittest from test_analyzer_preprocessors
from tests import test_encoding, test_transcoding
- from tests.unit_timeside import runTestModule
- runTestModule([test_encoding, test_transcoding], test_prefix='testWebM')
\ No newline at end of file
+ from tests.unit_timeside import run_test_module
+ run_test_module([test_encoding, test_transcoding], test_prefix='testWebM')
\ No newline at end of file