mirror of https://github.com/flaggo/pydu.git
add string test case
This commit is contained in:
parent
d470afa84e
commit
d1b0517114
|
@ -14,6 +14,9 @@ def test_safeunicode():
|
|||
assert safeunicode(1) == u'1'
|
||||
assert safeunicode('中文') == u'中文'
|
||||
|
||||
assert safeunicode(u'hell0') == u'hello'
|
||||
assert safeunicode(u'中文') == u'中文'
|
||||
|
||||
|
||||
def test_lstrips():
|
||||
assert lstrips('foobbar', '') == 'foobbar'
|
||||
|
|
Loading…
Reference in New Issue