def test_comma_separated_list():
    assert hug.types.comma_separated_list('value') == ['value']
    assert hug.types.comma_separated_list('value1,value2') == ['value1', 'value2']
Tests that hug's comma separated type correctly converts into a Python list
dataset/ETHPy150Open timothycrosley/hug/tests/test_types.py/test_comma_separated_list