

def test_base_registration():
    app = Flask(__name__)
    admin = base.Admin(app)
    eq_(admin.app, app)
    ok_((admin.index_view.blueprint is not None))

dataset/ETHPy150Open mrjoes/flask-admin/flask_admin/tests/test_base.py test_base_registration/original