| | 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) |
| |
|
| | |
| | |
| | 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)) |
| |
|