

def test_parse_single_dash_argument(self):
    input_ = ArgvInput(['cli.py', '-'])
    input_.bind(InputDefinition([InputArgument('file')]))
    self.assertEqual({
        'file': '-',
    }, input_.get_arguments())

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