def get_with_limit(self, limit):
        for i in range(100):
            m = SimpleModel(u'name %d' % i)
            self.session.add(m)
            self.session.flush()
        return self.json_get(url_for('SimpleModelView:index', limit=limit))
dataset/ETHPy150Open danielholmstrom/flask-alchemyview/tests/test_view.py/TestSimpleModel.get_with_limit/original