def test09_authority(self):
        for s in srlist:
            if hasattr(s, 'auth'):
                srs = SpatialReference(s.wkt)
                for target, tup in s.auth.items():
                    self.assertEqual(tup[0], srs.auth_name(target))
                    self.assertEqual(tup[1], srs.auth_code(target))
Testing the authority name & code routines.
dataset/ETHPy150Open django/django/tests/gis_tests/gdal_tests/test_srs.py/SpatialRefTest.test09_authority