root/geojson/trunk/tests/__init__.py

Revision 1504, 397 bytes (checked in by mattrussell, 8 months ago)

Simplify code. Remove custom mapping object. add more tests for falling through to json, crs and strict json. Fixes #186

  • Property svn:eol-style set to native
Line 
1import doctest
2import glob
3import os
4
5optionflags = (doctest.REPORT_ONLY_FIRST_FAILURE |
6               doctest.NORMALIZE_WHITESPACE |
7               doctest.ELLIPSIS)
8
9_basedir = os.path.dirname(__file__)
10paths = glob.glob("%s/*.txt" % _basedir)
11test_suite = doctest.DocFileSuite(*paths, **dict(module_relative=False,
12                                                 optionflags=optionflags))
13
14
15
Note: See TracBrowser for help on using the browser.