

def test_parse_list_argument(self):
    input_ = ArgvInput(['cli.py', 'foo', 'bar', 'baz', 'bat'])
    input_.bind(InputDefinition([InputArgument('name', InputArgument.IS_LIST)]))
    self.assertEqual({
        'name': ['foo', 'bar', 'baz', 'bat'],
    }, input_.get_arguments())

dataset/ETHPy150Open sdispater/cleo/tests/inputs/test_argv_input.py ArgvInputTest.test_parse_list_argument/original