Example #1
0
 def test_with_list(self):
     assert utils.destr(['1', '2']) == ['1', '2']
Example #2
0
 def test_with_none(self):
     assert utils.destr(None) == []
Example #3
0
 def test_with_string(self):
     assert utils.destr('hello') == ['hello']