

@mock.patch('imgur_cli.cli_api.format_comment_tree')
def test_notification_all(self, mock_format_comment_tree):
    argv = ['notification', 'all']
    self._client.return_value.get_notifications.return_value = {
        'messages': [mock.Mock()],
        'replies': [mock.Mock(content=[])],
    }
    _cli = self.cli(parser_args)
    parser_args = _cli.parser.parse_args(argv)
    self.assertParser(_cli, parser_args, argv)
    self.assertTrue(_cli.client.get_notifications.called)

dataset/ETHPy150Open ueg1990/imgur-cli/tests/test_cli.py TestImgurCli.test_notification_all/VarMisuse@74/111 `argv`->`parser_args`