Example #1
0
def test_string_to_list_intify(value):
    assert string_to_list(value, intify=False) == ["1", "2", "3"]
    assert string_to_list(value, intify=True) == [1, 2, 3]
Example #2
0
def test_string_to_list(value):
    assert string_to_list(value,
                          intify=False) == ["parser", "textcat", "tagger"]