def test_add_line_break_3(self): t = add_line_break( "this is a very long sentence in order to make a very great test", 15, maxlen=30) expected = 'this is a very long<br />sentence in order<br />to...' assert t == expected
def test_add_line_break_2(self): t = add_line_break( "this is a very long sentence in order to make a very great test", 10) expected = 'this is a very<br />long sentence<br />in order to make<br />a very great<br />test' assert t == expected
def test_add_line_break_1(self): t = add_line_break(3453, 10) assert t == 3453