Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias If NameLoad body ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore TupleLoad Str Num Str NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Num Assign NameStore Call NameLoad Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad For NameStore TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Call AttributeLoad NameLoad attr BoolOpAnd NameLoad NameLoad Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults Num body Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr Call NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A django.forms ValidationError django.contrib.gis.gdal HAS_GDAL django.contrib.gis.tests.utils HAS_SPATIALREFSYS django.utils unittest N/A HAS_SPATIALREFSYS N/A django.contrib.gis forms django.contrib.gis.geos GEOSGeometry GeometryFieldTest N/A N/A unittest TestCase N/A test00_init N/A N/A self N/A N/A N/A Testing GeometryField initialization with defaults. N/A fld N/A N/A forms GeometryField N/A bad_default N/A blah 3 FoO None 0 N/A N/A N/A N/A self assertRaises ValidationError N/A fld clean bad_default N/A test01_srid N/A N/A self N/A N/A N/A Testing GeometryField with a SRID set. N/A fld N/A N/A forms GeometryField srid 4326 N/A geom N/A N/A fld clean POINT(5 23) N/A N/A N/A self assertEqual 4326 N/A geom srid N/A fld N/A N/A forms GeometryField srid 32140 N/A tol 1e-07 N/A xform_geom N/A GEOSGeometry POINT (951640.547328465 4219369.26171664) srid 32140 N/A cleaned_geom N/A N/A fld clean SRID=4326;POINT (-95.363151 29.763374) N/A N/A N/A self assertTrue N/A N/A xform_geom equals_exact cleaned_geom tol N/A test02_null N/A N/A self N/A N/A N/A Testing GeometryField's handling of null (None) geometries. N/A fld N/A N/A forms GeometryField N/A N/A N/A self assertRaises N/A forms ValidationError N/A fld clean None N/A fld N/A N/A forms GeometryField required False null False N/A N/A N/A self assertRaises N/A forms ValidationError N/A fld clean None N/A fld N/A N/A forms GeometryField required False N/A N/A N/A self assertEqual None N/A N/A fld clean None N/A test03_geom_type N/A N/A self N/A N/A N/A Testing GeometryField's handling of different geometry types. N/A fld N/A N/A forms GeometryField N/A wkt N/A POINT(5 23) MULTIPOLYGON(((0 0, 0 1, 1 1, 1 0, 0 0))) LINESTRING(0 0, 1 1) N/A N/A N/A N/A self assertEqual N/A GEOSGeometry wkt N/A N/A fld clean wkt N/A pnt_fld N/A N/A forms GeometryField geom_type POINT N/A N/A N/A self assertEqual N/A GEOSGeometry POINT(5 23) N/A N/A pnt_fld clean POINT(5 23) N/A N/A N/A self assertEqual N/A GEOSGeometry LINESTRING(0 0, 1 1) N/A N/A pnt_fld to_python LINESTRING(0 0, 1 1) N/A N/A N/A self assertRaises N/A forms ValidationError N/A pnt_fld clean LINESTRING(0 0, 1 1) N/A test04_to_python N/A N/A self N/A N/A N/A 
        Testing to_python returns a correct GEOSGeometry object or
        a ValidationError
         N/A fld N/A N/A forms GeometryField N/A wkt N/A POINT(5 23) MULTIPOLYGON(((0 0, 0 1, 1 1, 1 0, 0 0))) LINESTRING(0 0, 1 1) N/A N/A N/A N/A self assertEqual N/A GEOSGeometry wkt N/A N/A fld to_python wkt N/A wkt N/A POINT(5) MULTI   POLYGON(((0 0, 0 1, 1 1, 1 0, 0 0))) BLAH(0 0, 1 1) N/A N/A N/A N/A self assertRaises N/A forms ValidationError N/A fld to_python wkt N/A N/A N/A N/A unittest skipUnless N/A HAS_GDAL HAS_SPATIALREFSYS GeometryFieldTest needs gdal support and a spatial database suite N/A N/A N/A N/A N/A s N/A N/A unittest TestSuite N/A N/A N/A s addTest N/A N/A unittest makeSuite GeometryFieldTest N/A s N/A run N/A N/A verbosity N/A 2 N/A N/A N/A N/A N/A N/A unittest TextTestRunner verbosity verbosity run N/A suite N/A N/A N/A __name__ __main__ N/A N/A N/A run