view tests/rdrutil.py @ 1021:22e767899e52

tests: Fix path comparison in a test on Windows.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 05 Dec 2017 22:30:27 -0800
parents 72f17534d58e
children
line wrap: on
line source

from piecrust.rendering import RenderingContext, render_page


def render_simple_page(page):
    ctx = RenderingContext(page)
    rp = render_page(ctx)
    return rp.content