Ejemplo n.º 1
0
def test_reallyBoringDocstring():
    undocced = '<pre class="undocumented">Undocumented</pre>'
    assert html.boringDocstring('') == undocced
    assert html.boringDocstring(None) == undocced
Ejemplo n.º 2
0
def test_boringDocstring():
    assert html.boringDocstring('Woot\nYeah') == '<pre>Woot\nYeah</pre>'
Ejemplo n.º 3
0
def test_boringDocstring():
    assert html.boringDocstring("Woot\nYeah") == "<pre>Woot\nYeah</pre>"
Ejemplo n.º 4
0
def test_reallyBoringDocstring():
    undocced = '<pre class="undocumented">Undocumented</pre>'
    assert html.boringDocstring("") == undocced
    assert html.boringDocstring(None) == undocced
Ejemplo n.º 5
0
def test_boringDocstring():
    assert html.boringDocstring('Woot\nYeah') == '<pre>Woot\nYeah</pre>'