示例#1
0
 def test_extend_list_sequence_elements(self):
     assert utils.extend_list(['foo', 'bar',
                               '1,2']) == ['foo', 'bar', '1', '2']
示例#2
0
 def test_extend_list_sequence_string(self):
     assert utils.extend_list(['foo, bar,']) == ['foo', 'bar']
示例#3
0
 def test_extend_list_string(self):
     assert utils.extend_list('foo, bar,') == ['foo', 'bar']
示例#4
0
 def test_extend_list_sequence_elements(self):
     assert utils.extend_list(['foo', 'bar', '1,2']) == [
         'foo', 'bar', '1', '2']
示例#5
0
 def test_extend_list_sequence_string(self):
     assert utils.extend_list(['foo, bar,']) == ['foo', 'bar']
示例#6
0
 def test_extend_list_string(self):
     assert utils.extend_list('foo, bar,') == ['foo', 'bar']