Show More
@@ -149,6 +149,9 b' def test_long_substr2():' | |||
|
149 | 149 | data = ['abc', 'abd', 'abf', 'ab'] |
|
150 | 150 | nt.assert_equal(text.long_substr(data), 'ab') |
|
151 | 151 | |
|
152 | def test_long_substr_empty(): | |
|
153 | data = [] | |
|
154 | nt.assert_equal(text.long_substr(data), '') | |
|
152 | 155 | |
|
153 | 156 | def test_strip_email(): |
|
154 | 157 | src = """\ |
General Comments 0
You need to be logged in to leave comments.
Login now