

def test_album_images(self):
    argv = ['album', 'images', '123']
    _cli = self.cli(argv)
    parser_args = _cli.parser.parse_args(argv)
    self.assertParser(_cli, parser_args, self)
    self.assertEqual(parser_args.output_file, None)
    self.assertTrue(_cli.client.get_album_images.called)
    self.assertRaises(SystemExit, self.cli, [argv[0], '--output-file', 'dummy.json'])

dataset/ETHPy150Open ueg1990/imgur-cli/tests/test_cli.py TestImgurCli.test_album_images/VarMisuse@48/68 `argv`->`self`