

def test_baseview_urls():
    app = Flask(__name__)
    admin = base.Admin(app)
    view = MockView()
    admin.add_view(view)
    eq_(len(view._urls), 2)

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