Пример #1
0
 def test_should_parse_comma_separated_list(self):
     assert str_to_list('a,b,c') == ['a', 'b', 'c']
Пример #2
0
 def test_should_ignore_white_space_around_values(self):
     assert str_to_list(' a , b , c ') == ['a', 'b', 'c']
Пример #3
0
 def test_should_parse_blank_string_as_empty_list(self):
     assert str_to_list(' ') == []