'Test adding a new entry in the SpatialRefSys model using the
add_srs_entry utility.'

@skipUnlessDBFeature('supports_add_srs_entry')
def test_add_entry(self):

    from django.contrib.gis.utils import add_srs_entry
    add_srs_entry(3857)
    self.assertTrue(SpatialRefSys.objects.filter(srid=3857).exists())
    srs = SpatialRefSys.objects.get(srid=3857)
    self.assertTrue(SpatialRefSys.get_spheroid(srs.wkt).startswith('SPHEROID['))
