Example #1
0
def test_one_line():
    assert email.indent_lines('[test]', None) == '[test]'
Example #2
0
def test_two_lines():
    assert email.indent_lines('[test]\nthis', None) == '[test]\n    this'
Example #3
0
def test_empty():
    assert email.indent_lines('', None) == ''