Exemple #1
0
def test_summaryDoc():
    docco = model.Documentable(None, "threadz", "Woot\nYeah")
    assert html.summaryDoc(docco) == html.doc2html(docco, "Woot")
Exemple #2
0
def test_summaryDoc():
    docco = model.Documentable(None, 'threadz', 'Woot\nYeah')
    assert html.summaryDoc(docco) == html.doc2html(docco, 'Woot')
Exemple #3
0
def test_link():
    doc0 = model.Documentable(None, "twisted", None)
    docco = model.Documentable(None, "threadz", None, doc0)
    assert html.link(docco) == "twisted.threadz.html"
Exemple #4
0
def test_link():
    doc0 = model.Documentable(None, 'twisted', None)
    docco = model.Documentable(None, 'threadz', None, doc0)
    assert html.link(docco) == 'twisted.threadz.html'