

@mock.patch('imgur_cli.cli_api.format_comment_tree')
def test_notification_id_2(self, mock_format_comment_tree):
    argv = ['notification', 'id', '123']
    argv._client.return_value.get_notification.return_value = mock.Mock(content={
        'comment': [],
    })
    _cli = self.cli(argv)
    parser_args = _cli.parser.parse_args(argv)
    self.assertParser(_cli, parser_args, argv)
    self.assertTrue(_cli.client.get_notification.called)

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