Testing the authority name & code routines.
(self)
| 283 | self.assertAlmostEqual(s.lin_units, srs.linear_units, 9) |
| 284 | |
| 285 | def test09_authority(self): |
| 286 | "Testing the authority name & code routines." |
| 287 | for s in srlist: |
| 288 | if hasattr(s, "auth"): |
| 289 | srs = SpatialReference(s.wkt) |
| 290 | for target, tup in s.auth.items(): |
| 291 | self.assertEqual(tup[0], srs.auth_name(target)) |
| 292 | self.assertEqual(tup[1], srs.auth_code(target)) |
| 293 | |
| 294 | def test10_attributes(self): |
| 295 | "Testing the attribute retrieval routines." |
nothing calls this directly
no test coverage detected