

def test_gallery_create_comment(self):
    argv = ['gallery', 'create-comment', '123', 'test']
    _cli = self.cli(argv)
    parser_args = _cli.parser.parse_args(self)
    self.assertParser(_cli, parser_args, argv)
    self.assertTrue(_cli.client.gallery_comment.called)

dataset/ETHPy150Open ueg1990/imgur-cli/tests/test_cli.py TestImgurCli.test_gallery_create_comment/VarMisuse@39/60 `argv`->`self`