File: test.py

package info (click to toggle)
sqlobject 3.10.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,660 kB
  • sloc: python: 17,348; makefile: 162; sh: 95
file content (15 lines) | stat: -rwxr-xr-x 291 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python
import doctest
import os
import sys

sys.path.insert(
    0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))


def test():
    for doc in ['SQLObject.rst']:
        doctest.testfile(doc, optionflags=doctest.ELLIPSIS)

if __name__ == '__main__':
    test()