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