@mock.patch('certbot._internal.main.plugins_disco')
@mock.patch('certbot._internal.main.cli.HelpfulArgumentParser.determine_help_topics')
@mock.patch('certbot._internal.log.post_arg_parse_setup')
def test_plugins(self, _, _det, mock_disco):
    flags = ['--init', '--prepare', '--authenticators', '--installers']
    for args in itertools.chain(*(itertools.combinations(flags, r) for r in range(len(flags)))):
        self._call((['plugins'] + list(args)))
@mock.patch('certbot._internal.main.plugins_disco')
@mock.patch('certbot._internal.main.cli.HelpfulArgumentParser.determine_help_topics')
@mock.patch('certbot._internal.log.post_arg_parse_setup')
def test_plugins(self, _, _det, mock_disco):
    flags = ['--init', '--prepare', '--authenticators', '--installers']
    for args in itertools.chain(*(itertools.combinations(flags, r) for r in range(len(flags)))):
        self._call((['plugins'] + list(args)))