@patch.object(APIBlueprint, 'record')
    def test_record_not_inherited_route(self, record):
        bp = APIBlueprint('bp_v1', __name__, url_prefix='/v1')

        @bp.route('/foo')
        def foo():
            return 'Foo'

        self.assertEqual(record.call_count, 1)
        expected_call = record.call_args_list[0]
        call_args, call_kwargs = expected_call[0], expected_call[1]
        self.assertEqual(call_kwargs, dict(rule='/foo'))
Returns model geometry field.
dataset/ETHPy150Open gwongz/flask-apiblueprint/test_apiblueprint.py/TestAPIBlueprint.test_record_not_inherited_route--crossover with--dataset/ETHPy150Open bkg/django-spillway/spillway/query.py/GeoQuerySet.geo_field