[go: up one dir, main page]

Menu

[47dde2]: / docs / test.py  Maximize  Restore  History

Download this file

17 lines (12 with data), 357 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
import sys, os
if sys.version_info >= (2, 4):
import doctest
else:
raise ImportError("Python 2.4 doctest required")
sys.path.insert(
0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
def test():
for doc in ['SQLObject.txt']:
doctest.testfile(doc, optionflags=doctest.ELLIPSIS)
if __name__ == '__main__':
test()