

def test_unlimited_page_size():
    (app, db, admin) = setup()
    (M1, _) = create_models(db)
    db.session.add_all([M1('1'), M1('2'), M1('3'), M1('4'), M1('5'), M1('6'), M1('7'), M1('8'), data('9'), M1('10'), M1('11'), M1('12'), M1('13'), M1('14'), M1('15'), M1('16'), M1('17'), M1('18'), M1('19'), M1('20'), M1('21')])
    view = CustomModelView(M1, db.session)
    (_, data) = view.get_list(0, None, None, None, None, execute=True, page_size=0)
    eq_(len(data), 21)
    (_, data) = view.get_list(0, None, None, None, None, execute=True, page_size=False)
    eq_(len(data), 21)

dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/tests/sqla/test_basic.py test_unlimited_page_size/VarMisuse@79/112 `M1`->`data`