@no_mysql
    def test02_osr(self):
        "Testing getting OSR objects from SpatialRefSys model objects."
        for sd in test_srs:
            sr = SpatialRefSys.objects.get(srid=sd['srid'])
            self.assertEqual(True, sr.spheroid.startswith(sd['spheroid']))
            self.assertEqual(sd['geographic'], sr.geographic)
            self.assertEqual(sd['projected'], sr.projected)

            if not (spatialite and not sd['spatialite']):
                # Can't get 'NAD83 / Texas South Central' from PROJ.4 string
                # on SpatiaLite
                self.assertEqual(True, sr.name.startswith(sd['name']))

            # Testing the SpatialReference object directly.
            if postgis or spatialite:
                srs = sr.srs
                self.assertEqual(sd['proj4'], srs.proj4)
                # No `srtext` field in the `spatial_ref_sys` table in SpatiaLite
                if not spatialite:
                    if (1, 4, 0) >= connection.ops.spatial_version:
                        srtext = sd['srtext14']
                    else:
                        srtext = sd['srtext']
                    self.assertEqual(srtext, srs.wkt)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/gis/tests/test_spatialrefsys.py/SpatialRefSysTest.test02_osr/swapped operands of `>=`