@property
    def ellipsoid(self):
        if gdal.HAS_GDAL:
            return self.srs.ellipsoid
        else:
            m = self.spheroid_regex.match(self.wkt)
            if m:
                return (float(m.group('major')), float(m.group('flattening')))
            else:
                return None
Test function takes config
dataset/ETHPy150Open django/django/django/contrib/gis/db/backends/base/models.py/SpatialRefSysMixin.ellipsoid--crossover with--dataset/ETHPy150Open openstack/bandit/bandit/core/test_properties.py/takes_config