

def test_init(self):
    sys.argv = ['cli.py', 'foo']
    input_ = ArgvInput()
    self.assertEqual(['foo'], input_._ArgvInput__tokens)
    self.assertEqual(['cli.py', 'foo'], sys.argv)

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