cobiz / tests /hwp5_tests /__init__.py
seawolf2357's picture
Add tests
3315103 verified
from __future__ import print_function
def test_suite():
from unittest import defaultTestLoader as TL
from unittest import TestSuite as TS
tests = []
import test_odtxsl as T
tests.append(T)
import test_xmlformat as T
tests.append(T)
import test_xmlmodel as T
tests.append(T)
import test_binmodel as T
tests.append(T)
import test_recordstream as T
tests.append(T)
import test_filestructure as T
tests.append(T)
import test_dataio as T
tests.append(T)
import test_treeop as T
tests.append(T)
import test_ole as T
tests.append(T)
import test_storage as T
tests.append(T)
# localtest: a unittest module which resides at the local test site only;
# should not be checked in the source code repository
try:
import localtest
except ImportError as e:
print('localtest import failed: ', e)
else:
tests[0:0] = [localtest]
return TS((TL.loadTestsFromModule(m) for m in tests))