def render_app(app, route='/'):
    """Renders the markup at the specified app route."""
    with app.test_client() as c:
        response = c.get('/')
        encoding = response.charset
        return response.data.decode(encoding)