File: __init__.py

package info (click to toggle)
mapbox-vector-tile 0.5.0%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 276 kB
  • ctags: 496
  • sloc: python: 1,181; makefile: 10
file content (12 lines) | stat: -rw-r--r-- 394 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
import doctest
import glob
import os

optionflags = (doctest.REPORT_ONLY_FIRST_FAILURE |
               doctest.NORMALIZE_WHITESPACE |
               doctest.ELLIPSIS)

_basedir = os.path.dirname(__file__)
paths = glob.glob("%s/*.txt" % _basedir)
test_suite = doctest.DocFileSuite(*paths, **dict(module_relative=False,
                                                 optionflags=optionflags))