File size: 1,009 Bytes
3315103 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | 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))
|