def testSimple(
    data="""Hello <b>World</b><br/><img src="img/test.jpg"/>""",
    dest="test.pdf"):

    pdf = pisa.CreatePDF(
        cStringIO.StringIO(data),
        file(dest, "wb")
        )

    if pdf.err:
        dumpErrors(pdf)
    else:
        pisa.startViewer(dest)
Return a name-to-key-list dictionary to define each sequence.
dataset/ETHPy150Open xhtml2pdf/xhtml2pdf/test/simple.py/testSimple--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/MH.get_sequences