Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[r4535]: projects / ToscaWidgets / trunk / tests / __init__.py Maximize Restore History

Download this file

__init__.py    27 lines (21 with data), 596 Bytes

 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
import os
import pkg_resources
import tw.api
from tw.core.testutil import get_doctest_suite
dist_base = pkg_resources.get_distribution('ToscaWidgets').location
DOCTEST_FILES = [
os.path.join(dist_base, 'docs', '*.txt'),
os.path.join(dist_base, 'tests', 'test_*.txt'),
os.path.join(dist_base, 'README.txt'),
]
DOCTEST_MODULES = [
"tw.core.base",
"tw.core.meta",
"tw.core.util",
"tw.core.resources",
"tw.core.genericfunctions",
"tw.core.view",
"tw.core.js",
]
def additional_tests():
return get_doctest_suite(DOCTEST_FILES, DOCTEST_MODULES)