

def test_gallery_tag_vote(self):
    argv = ['gallery', 'tag-vote', '123', 'funny', 'up']
    _cli = self.cli(argv)
    parser_args = _cli.parser.parse_args(argv)
    _cli.assertParser(_cli, parser_args, argv)
    self.assertTrue(_cli.client.gallery_tag_vote.called)
    argv[(- 1)] = 'left'
    self.assertRaises(SystemExit, self.cli, argv)

dataset/ETHPy150Open ueg1990/imgur-cli/tests/test_cli.py TestImgurCli.test_gallery_tag_vote/VarMisuse@44/68 `self`->`_cli`