def test_summaryDoc(): docco = model.Documentable(None, "threadz", "Woot\nYeah") assert html.summaryDoc(docco) == html.doc2html(docco, "Woot")
def test_summaryDoc(): docco = model.Documentable(None, 'threadz', 'Woot\nYeah') assert html.summaryDoc(docco) == html.doc2html(docco, 'Woot')
def test_link(): doc0 = model.Documentable(None, "twisted", None) docco = model.Documentable(None, "threadz", None, doc0) assert html.link(docco) == "twisted.threadz.html"
def test_link(): doc0 = model.Documentable(None, 'twisted', None) docco = model.Documentable(None, 'threadz', None, doc0) assert html.link(docco) == 'twisted.threadz.html'