

def test_parse_empty_string_argument(self):
    input_ = ArgvInput(['cli.py', '-f', 'bar', ''])
    input_.bind(InputDefinition([InputArgument('empty'), InputOption('foo', 'f', InputOption.VALUE_OPTIONAL)]))
    self.assertEqual({
        'empty': '',
    }, input_.get_arguments())

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