MCPcopy
hub / github.com/django/django / test07_boolean_props

Method test07_boolean_props

tests/gis_tests/gdal_tests/test_srs.py:269–274  ·  view source on GitHub ↗

Testing the boolean properties.

(self)

Source from the content-addressed store, hash-verified

267 self.assertEqual(expected, srs[attr])
268
269 def test07_boolean_props(self):
270 "Testing the boolean properties."
271 for s in srlist:
272 srs = SpatialReference(s.wkt)
273 self.assertEqual(s.projected, srs.projected)
274 self.assertEqual(s.geographic, srs.geographic)
275
276 def test08_angular_linear(self):
277 "Testing the linear and angular units routines."

Callers

nothing calls this directly

Calls 1

SpatialReferenceClass · 0.90

Tested by

no test coverage detected